Grafana v2.14.1 published on Thursday, Nov 6, 2025 by pulumiverse
grafana.cloudProvider.getAwsCloudwatchScrapeJob
Start a Neo task
Explain and create a grafana.cloudProvider.getAwsCloudwatchScrapeJob resource
Example Usage
Using getAwsCloudwatchScrapeJob
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAwsCloudwatchScrapeJob(args: GetAwsCloudwatchScrapeJobArgs, opts?: InvokeOptions): Promise<GetAwsCloudwatchScrapeJobResult>
function getAwsCloudwatchScrapeJobOutput(args: GetAwsCloudwatchScrapeJobOutputArgs, opts?: InvokeOptions): Output<GetAwsCloudwatchScrapeJobResult>def get_aws_cloudwatch_scrape_job(custom_namespaces: Optional[Sequence[GetAwsCloudwatchScrapeJobCustomNamespace]] = None,
name: Optional[str] = None,
services: Optional[Sequence[GetAwsCloudwatchScrapeJobService]] = None,
stack_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAwsCloudwatchScrapeJobResult
def get_aws_cloudwatch_scrape_job_output(custom_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[GetAwsCloudwatchScrapeJobCustomNamespaceArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
services: Optional[pulumi.Input[Sequence[pulumi.Input[GetAwsCloudwatchScrapeJobServiceArgs]]]] = None,
stack_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAwsCloudwatchScrapeJobResult]func LookupAwsCloudwatchScrapeJob(ctx *Context, args *LookupAwsCloudwatchScrapeJobArgs, opts ...InvokeOption) (*LookupAwsCloudwatchScrapeJobResult, error)
func LookupAwsCloudwatchScrapeJobOutput(ctx *Context, args *LookupAwsCloudwatchScrapeJobOutputArgs, opts ...InvokeOption) LookupAwsCloudwatchScrapeJobResultOutput> Note: This function is named LookupAwsCloudwatchScrapeJob in the Go SDK.
public static class GetAwsCloudwatchScrapeJob
{
public static Task<GetAwsCloudwatchScrapeJobResult> InvokeAsync(GetAwsCloudwatchScrapeJobArgs args, InvokeOptions? opts = null)
public static Output<GetAwsCloudwatchScrapeJobResult> Invoke(GetAwsCloudwatchScrapeJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAwsCloudwatchScrapeJobResult> getAwsCloudwatchScrapeJob(GetAwsCloudwatchScrapeJobArgs args, InvokeOptions options)
public static Output<GetAwsCloudwatchScrapeJobResult> getAwsCloudwatchScrapeJob(GetAwsCloudwatchScrapeJobArgs args, InvokeOptions options)
fn::invoke:
function: grafana:cloudProvider/getAwsCloudwatchScrapeJob:getAwsCloudwatchScrapeJob
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Stack
Id string - Custom
Namespaces List<Pulumiverse.Grafana. Cloud Provider. Inputs. Get Aws Cloudwatch Scrape Job Custom Namespace> - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - Services
List<Pulumiverse.
Grafana. Cloud Provider. Inputs. Get Aws Cloudwatch Scrape Job Service> - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- Name string
- Stack
Id string - Custom
Namespaces []GetAws Cloudwatch Scrape Job Custom Namespace - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - Services
[]Get
Aws Cloudwatch Scrape Job Service - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- name String
- stack
Id String - custom
Namespaces List<GetAws Cloudwatch Scrape Job Custom Namespace> - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services
List<Get
Aws Cloudwatch Scrape Job Service> - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- name string
- stack
Id string - custom
Namespaces GetAws Cloudwatch Scrape Job Custom Namespace[] - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services
Get
Aws Cloudwatch Scrape Job Service[] - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- name str
- stack_
id str - custom_
namespaces Sequence[GetAws Cloudwatch Scrape Job Custom Namespace] - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services
Sequence[Get
Aws Cloudwatch Scrape Job Service] - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- name String
- stack
Id String - custom
Namespaces List<Property Map> - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services List<Property Map>
- One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
getAwsCloudwatchScrapeJob Result
The following output properties are available:
- Aws
Account stringResource Id - The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the
resource_idattribute of thegrafana.cloudProvider.AwsAccountresource. - Disabled
Reason string - When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
- Enabled bool
- Whether the AWS CloudWatch Scrape Job is enabled or not.
- bool
- When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as
aws_<service_name>_info. - Id string
- Name string
- Regions List<string>
- The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
- Regions
Subset boolOverride Used - When true, the
regionsattribute will be the set of regions configured in the override. When false, theregionsattribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job. - Role
Arn string - The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
- Stack
Id string - Static
Labels Dictionary<string, string> - A set of static labels to add to all metrics exported by this scrape job.
- Custom
Namespaces List<Pulumiverse.Grafana. Cloud Provider. Outputs. Get Aws Cloudwatch Scrape Job Custom Namespace> - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - Services
List<Pulumiverse.
Grafana. Cloud Provider. Outputs. Get Aws Cloudwatch Scrape Job Service> - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- Aws
Account stringResource Id - The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the
resource_idattribute of thegrafana.cloudProvider.AwsAccountresource. - Disabled
Reason string - When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
- Enabled bool
- Whether the AWS CloudWatch Scrape Job is enabled or not.
- bool
- When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as
aws_<service_name>_info. - Id string
- Name string
- Regions []string
- The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
- Regions
Subset boolOverride Used - When true, the
regionsattribute will be the set of regions configured in the override. When false, theregionsattribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job. - Role
Arn string - The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
- Stack
Id string - Static
Labels map[string]string - A set of static labels to add to all metrics exported by this scrape job.
- Custom
Namespaces []GetAws Cloudwatch Scrape Job Custom Namespace - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - Services
[]Get
Aws Cloudwatch Scrape Job Service - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- aws
Account StringResource Id - The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the
resource_idattribute of thegrafana.cloudProvider.AwsAccountresource. - disabled
Reason String - When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
- enabled Boolean
- Whether the AWS CloudWatch Scrape Job is enabled or not.
- Boolean
- When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as
aws_<service_name>_info. - id String
- name String
- regions List<String>
- The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
- regions
Subset BooleanOverride Used - When true, the
regionsattribute will be the set of regions configured in the override. When false, theregionsattribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job. - role
Arn String - The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
- stack
Id String - static
Labels Map<String,String> - A set of static labels to add to all metrics exported by this scrape job.
- custom
Namespaces List<GetAws Cloudwatch Scrape Job Custom Namespace> - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services
List<Get
Aws Cloudwatch Scrape Job Service> - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- aws
Account stringResource Id - The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the
resource_idattribute of thegrafana.cloudProvider.AwsAccountresource. - disabled
Reason string - When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
- enabled boolean
- Whether the AWS CloudWatch Scrape Job is enabled or not.
- boolean
- When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as
aws_<service_name>_info. - id string
- name string
- regions string[]
- The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
- regions
Subset booleanOverride Used - When true, the
regionsattribute will be the set of regions configured in the override. When false, theregionsattribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job. - role
Arn string - The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
- stack
Id string - static
Labels {[key: string]: string} - A set of static labels to add to all metrics exported by this scrape job.
- custom
Namespaces GetAws Cloudwatch Scrape Job Custom Namespace[] - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services
Get
Aws Cloudwatch Scrape Job Service[] - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- aws_
account_ strresource_ id - The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the
resource_idattribute of thegrafana.cloudProvider.AwsAccountresource. - disabled_
reason str - When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
- enabled bool
- Whether the AWS CloudWatch Scrape Job is enabled or not.
- bool
- When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as
aws_<service_name>_info. - id str
- name str
- regions Sequence[str]
- The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
- regions_
subset_ booloverride_ used - When true, the
regionsattribute will be the set of regions configured in the override. When false, theregionsattribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job. - role_
arn str - The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
- stack_
id str - static_
labels Mapping[str, str] - A set of static labels to add to all metrics exported by this scrape job.
- custom_
namespaces Sequence[GetAws Cloudwatch Scrape Job Custom Namespace] - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services
Sequence[Get
Aws Cloudwatch Scrape Job Service] - One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
- aws
Account StringResource Id - The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the
resource_idattribute of thegrafana.cloudProvider.AwsAccountresource. - disabled
Reason String - When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
- enabled Boolean
- Whether the AWS CloudWatch Scrape Job is enabled or not.
- Boolean
- When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as
aws_<service_name>_info. - id String
- name String
- regions List<String>
- The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
- regions
Subset BooleanOverride Used - When true, the
regionsattribute will be the set of regions configured in the override. When false, theregionsattribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job. - role
Arn String - The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
- stack
Id String - static
Labels Map<String> - A set of static labels to add to all metrics exported by this scrape job.
- custom
Namespaces List<Property Map> - Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects. - services List<Property Map>
- One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct
nameattribute. When accessing this as an attribute reference, it is a list of objects.
Supporting Types
GetAwsCloudwatchScrapeJobCustomNamespace
- Name string
- The name of the custom namespace to scrape.
- Scrape
Interval intSeconds - The interval in seconds to scrape the custom namespace.
- Metrics
List<Pulumiverse.
Grafana. Cloud Provider. Inputs. Get Aws Cloudwatch Scrape Job Custom Namespace Metric> - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- Name string
- The name of the custom namespace to scrape.
- Scrape
Interval intSeconds - The interval in seconds to scrape the custom namespace.
- Metrics
[]Get
Aws Cloudwatch Scrape Job Custom Namespace Metric - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- name String
- The name of the custom namespace to scrape.
- scrape
Interval IntegerSeconds - The interval in seconds to scrape the custom namespace.
- metrics
List<Get
Aws Cloudwatch Scrape Job Custom Namespace Metric> - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- name string
- The name of the custom namespace to scrape.
- scrape
Interval numberSeconds - The interval in seconds to scrape the custom namespace.
- metrics
Get
Aws Cloudwatch Scrape Job Custom Namespace Metric[] - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- name str
- The name of the custom namespace to scrape.
- scrape_
interval_ intseconds - The interval in seconds to scrape the custom namespace.
- metrics
Sequence[Get
Aws Cloudwatch Scrape Job Custom Namespace Metric] - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- name String
- The name of the custom namespace to scrape.
- scrape
Interval NumberSeconds - The interval in seconds to scrape the custom namespace.
- metrics List<Property Map>
- One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
GetAwsCloudwatchScrapeJobCustomNamespaceMetric
- Name string
- The name of the metric to scrape.
- Statistics List<string>
- A set of statistics to scrape.
- Name string
- The name of the metric to scrape.
- Statistics []string
- A set of statistics to scrape.
- name String
- The name of the metric to scrape.
- statistics List<String>
- A set of statistics to scrape.
- name string
- The name of the metric to scrape.
- statistics string[]
- A set of statistics to scrape.
- name str
- The name of the metric to scrape.
- statistics Sequence[str]
- A set of statistics to scrape.
- name String
- The name of the metric to scrape.
- statistics List<String>
- A set of statistics to scrape.
GetAwsCloudwatchScrapeJobService
- Name string
- The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
- Scrape
Interval intSeconds - The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
- List<string>
- A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
- Metrics
List<Pulumiverse.
Grafana. Cloud Provider. Inputs. Get Aws Cloudwatch Scrape Job Service Metric> - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- Resource
Discovery List<Pulumiverse.Tag Filters Grafana. Cloud Provider. Inputs. Get Aws Cloudwatch Scrape Job Service Resource Discovery Tag Filter> - One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
- Name string
- The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
- Scrape
Interval intSeconds - The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
- []string
- A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
- Metrics
[]Get
Aws Cloudwatch Scrape Job Service Metric - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- Resource
Discovery []GetTag Filters Aws Cloudwatch Scrape Job Service Resource Discovery Tag Filter - One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
- name String
- The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
- scrape
Interval IntegerSeconds - The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
- List<String>
- A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
- metrics
List<Get
Aws Cloudwatch Scrape Job Service Metric> - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- resource
Discovery List<GetTag Filters Aws Cloudwatch Scrape Job Service Resource Discovery Tag Filter> - One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
- name string
- The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
- scrape
Interval numberSeconds - The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
- string[]
- A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
- metrics
Get
Aws Cloudwatch Scrape Job Service Metric[] - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- resource
Discovery GetTag Filters Aws Cloudwatch Scrape Job Service Resource Discovery Tag Filter[] - One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
- name str
- The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
- scrape_
interval_ intseconds - The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
- Sequence[str]
- A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
- metrics
Sequence[Get
Aws Cloudwatch Scrape Job Service Metric] - One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- resource_
discovery_ Sequence[Gettag_ filters Aws Cloudwatch Scrape Job Service Resource Discovery Tag Filter] - One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
- name String
- The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
- scrape
Interval NumberSeconds - The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
- List<String>
- A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
- metrics List<Property Map>
- One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
- resource
Discovery List<Property Map>Tag Filters - One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
GetAwsCloudwatchScrapeJobServiceMetric
- Name string
- The name of the metric to scrape.
- Statistics List<string>
- A set of statistics to scrape.
- Name string
- The name of the metric to scrape.
- Statistics []string
- A set of statistics to scrape.
- name String
- The name of the metric to scrape.
- statistics List<String>
- A set of statistics to scrape.
- name string
- The name of the metric to scrape.
- statistics string[]
- A set of statistics to scrape.
- name str
- The name of the metric to scrape.
- statistics Sequence[str]
- A set of statistics to scrape.
- name String
- The name of the metric to scrape.
- statistics List<String>
- A set of statistics to scrape.
GetAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafanaTerraform Provider.
