1. Packages
  2. AWS Native
  3. API Docs
  4. aps
  5. Scraper

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.aps.Scraper

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

    Resource Type definition for AWS::APS::Scraper

    Create Scraper Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Scraper(name: string, args: ScraperArgs, opts?: CustomResourceOptions);
    @overload
    def Scraper(resource_name: str,
                args: ScraperArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Scraper(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                destination: Optional[ScraperDestinationArgs] = None,
                scrape_configuration: Optional[ScraperScrapeConfigurationArgs] = None,
                source: Optional[ScraperSourceArgs] = None,
                alias: Optional[str] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewScraper(ctx *Context, name string, args ScraperArgs, opts ...ResourceOption) (*Scraper, error)
    public Scraper(string name, ScraperArgs args, CustomResourceOptions? opts = null)
    public Scraper(String name, ScraperArgs args)
    public Scraper(String name, ScraperArgs args, CustomResourceOptions options)
    
    type: aws-native:aps:Scraper
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ScraperArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ScraperArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ScraperArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScraperArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScraperArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Scraper Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Scraper resource accepts the following input properties:

    Destination Pulumi.AwsNative.Aps.Inputs.ScraperDestination
    The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
    ScrapeConfiguration Pulumi.AwsNative.Aps.Inputs.ScraperScrapeConfiguration
    The configuration in use by the scraper.
    Source Pulumi.AwsNative.Aps.Inputs.ScraperSource
    The Amazon EKS cluster from which the scraper collects metrics.
    Alias string
    Scraper alias.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    Destination ScraperDestinationArgs
    The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
    ScrapeConfiguration ScraperScrapeConfigurationArgs
    The configuration in use by the scraper.
    Source ScraperSourceArgs
    The Amazon EKS cluster from which the scraper collects metrics.
    Alias string
    Scraper alias.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    destination ScraperDestination
    The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
    scrapeConfiguration ScraperScrapeConfiguration
    The configuration in use by the scraper.
    source ScraperSource
    The Amazon EKS cluster from which the scraper collects metrics.
    alias String
    Scraper alias.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    destination ScraperDestination
    The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
    scrapeConfiguration ScraperScrapeConfiguration
    The configuration in use by the scraper.
    source ScraperSource
    The Amazon EKS cluster from which the scraper collects metrics.
    alias string
    Scraper alias.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    destination ScraperDestinationArgs
    The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
    scrape_configuration ScraperScrapeConfigurationArgs
    The configuration in use by the scraper.
    source ScraperSourceArgs
    The Amazon EKS cluster from which the scraper collects metrics.
    alias str
    Scraper alias.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    destination Property Map
    The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
    scrapeConfiguration Property Map
    The configuration in use by the scraper.
    source Property Map
    The Amazon EKS cluster from which the scraper collects metrics.
    alias String
    Scraper alias.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Scraper resource produces the following output properties:

    Arn string
    Scraper ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    RoleArn string
    IAM role ARN for the scraper.
    ScraperId string
    Required to identify a specific scraper.
    Arn string
    Scraper ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    RoleArn string
    IAM role ARN for the scraper.
    ScraperId string
    Required to identify a specific scraper.
    arn String
    Scraper ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    roleArn String
    IAM role ARN for the scraper.
    scraperId String
    Required to identify a specific scraper.
    arn string
    Scraper ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    roleArn string
    IAM role ARN for the scraper.
    scraperId string
    Required to identify a specific scraper.
    arn str
    Scraper ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    role_arn str
    IAM role ARN for the scraper.
    scraper_id str
    Required to identify a specific scraper.
    arn String
    Scraper ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    roleArn String
    IAM role ARN for the scraper.
    scraperId String
    Required to identify a specific scraper.

    Supporting Types

    ScraperDestination, ScraperDestinationArgs

    AmpConfiguration Pulumi.AwsNative.Aps.Inputs.ScraperDestinationAmpConfigurationProperties
    Configuration for Amazon Managed Prometheus metrics destination
    AmpConfiguration ScraperDestinationAmpConfigurationProperties
    Configuration for Amazon Managed Prometheus metrics destination
    ampConfiguration ScraperDestinationAmpConfigurationProperties
    Configuration for Amazon Managed Prometheus metrics destination
    ampConfiguration ScraperDestinationAmpConfigurationProperties
    Configuration for Amazon Managed Prometheus metrics destination
    amp_configuration ScraperDestinationAmpConfigurationProperties
    Configuration for Amazon Managed Prometheus metrics destination
    ampConfiguration Property Map
    Configuration for Amazon Managed Prometheus metrics destination

    ScraperDestinationAmpConfigurationProperties, ScraperDestinationAmpConfigurationPropertiesArgs

    WorkspaceArn string
    ARN of an Amazon Managed Prometheus workspace
    WorkspaceArn string
    ARN of an Amazon Managed Prometheus workspace
    workspaceArn String
    ARN of an Amazon Managed Prometheus workspace
    workspaceArn string
    ARN of an Amazon Managed Prometheus workspace
    workspace_arn str
    ARN of an Amazon Managed Prometheus workspace
    workspaceArn String
    ARN of an Amazon Managed Prometheus workspace

    ScraperScrapeConfiguration, ScraperScrapeConfigurationArgs

    ConfigurationBlob string
    Prometheus compatible scrape configuration in base64 encoded blob format
    ConfigurationBlob string
    Prometheus compatible scrape configuration in base64 encoded blob format
    configurationBlob String
    Prometheus compatible scrape configuration in base64 encoded blob format
    configurationBlob string
    Prometheus compatible scrape configuration in base64 encoded blob format
    configuration_blob str
    Prometheus compatible scrape configuration in base64 encoded blob format
    configurationBlob String
    Prometheus compatible scrape configuration in base64 encoded blob format

    ScraperSource, ScraperSourceArgs

    EksConfiguration ScraperSourceEksConfigurationProperties
    Configuration for EKS metrics source
    eksConfiguration ScraperSourceEksConfigurationProperties
    Configuration for EKS metrics source
    eksConfiguration ScraperSourceEksConfigurationProperties
    Configuration for EKS metrics source
    eksConfiguration Property Map
    Configuration for EKS metrics source

    ScraperSourceEksConfigurationProperties, ScraperSourceEksConfigurationPropertiesArgs

    ClusterArn string
    ARN of an EKS cluster
    SubnetIds List<string>
    List of subnet IDs
    SecurityGroupIds List<string>
    List of security group IDs
    ClusterArn string
    ARN of an EKS cluster
    SubnetIds []string
    List of subnet IDs
    SecurityGroupIds []string
    List of security group IDs
    clusterArn String
    ARN of an EKS cluster
    subnetIds List<String>
    List of subnet IDs
    securityGroupIds List<String>
    List of security group IDs
    clusterArn string
    ARN of an EKS cluster
    subnetIds string[]
    List of subnet IDs
    securityGroupIds string[]
    List of security group IDs
    cluster_arn str
    ARN of an EKS cluster
    subnet_ids Sequence[str]
    List of subnet IDs
    security_group_ids Sequence[str]
    List of security group IDs
    clusterArn String
    ARN of an EKS cluster
    subnetIds List<String>
    List of subnet IDs
    securityGroupIds List<String>
    List of security group IDs

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi