We recommend new projects start with resources from the AWS provider.
aws-native.aps.Scraper
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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,
            role_configuration: Optional[ScraperRoleConfigurationArgs] = 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Scraper resource accepts the following input properties:
- Destination
Pulumi.Aws Native. Aps. Inputs. Scraper Destination 
- The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- ScrapeConfiguration Pulumi.Aws Native. Aps. Inputs. Scraper Scrape Configuration 
- The configuration in use by the scraper.
- Source
Pulumi.Aws Native. Aps. Inputs. Scraper Source 
- The Amazon EKS cluster from which the scraper collects metrics.
- Alias string
- Scraper alias.
- RoleConfiguration Pulumi.Aws Native. Aps. Inputs. Scraper Role Configuration 
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- Destination
ScraperDestination Args 
- The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- ScrapeConfiguration ScraperScrape Configuration Args 
- The configuration in use by the scraper.
- Source
ScraperSource Args 
- The Amazon EKS cluster from which the scraper collects metrics.
- Alias string
- Scraper alias.
- RoleConfiguration ScraperRole Configuration Args 
- 
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 ScraperScrape Configuration 
- The configuration in use by the scraper.
- source
ScraperSource 
- The Amazon EKS cluster from which the scraper collects metrics.
- alias String
- Scraper alias.
- roleConfiguration ScraperRole Configuration 
- 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 ScraperScrape Configuration 
- The configuration in use by the scraper.
- source
ScraperSource 
- The Amazon EKS cluster from which the scraper collects metrics.
- alias string
- Scraper alias.
- roleConfiguration ScraperRole Configuration 
- Tag[]
- An array of key-value pairs to apply to this resource.
- destination
ScraperDestination Args 
- The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- scrape_configuration ScraperScrape Configuration Args 
- The configuration in use by the scraper.
- source
ScraperSource Args 
- The Amazon EKS cluster from which the scraper collects metrics.
- alias str
- Scraper alias.
- role_configuration ScraperRole Configuration Args 
- 
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.
- roleConfiguration Property Map
- 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 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.
Supporting Types
ScraperDestination, ScraperDestinationArgs    
- AmpConfiguration Pulumi.Aws Native. Aps. Inputs. Scraper Destination Amp Configuration Properties 
- Configuration for Amazon Managed Prometheus metrics destination
- AmpConfiguration ScraperDestination Amp Configuration Properties 
- Configuration for Amazon Managed Prometheus metrics destination
- ampConfiguration ScraperDestination Amp Configuration Properties 
- Configuration for Amazon Managed Prometheus metrics destination
- ampConfiguration ScraperDestination Amp Configuration Properties 
- Configuration for Amazon Managed Prometheus metrics destination
- amp_configuration ScraperDestination Amp Configuration Properties 
- 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
ScraperRoleConfiguration, ScraperRoleConfigurationArgs      
- SourceRole stringArn 
- IAM Role in source account
- TargetRole stringArn 
- IAM Role in the target account
- SourceRole stringArn 
- IAM Role in source account
- TargetRole stringArn 
- IAM Role in the target account
- sourceRole StringArn 
- IAM Role in source account
- targetRole StringArn 
- IAM Role in the target account
- sourceRole stringArn 
- IAM Role in source account
- targetRole stringArn 
- IAM Role in the target account
- source_role_ strarn 
- IAM Role in source account
- target_role_ strarn 
- IAM Role in the target account
- sourceRole StringArn 
- IAM Role in source account
- targetRole StringArn 
- IAM Role in the target account
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 Pulumi.Aws Native. Aps. Inputs. Scraper Source Eks Configuration Properties 
- Configuration for EKS metrics source
- EksConfiguration ScraperSource Eks Configuration Properties 
- Configuration for EKS metrics source
- eksConfiguration ScraperSource Eks Configuration Properties 
- Configuration for EKS metrics source
- eksConfiguration ScraperSource Eks Configuration Properties 
- Configuration for EKS metrics source
- eks_configuration ScraperSource Eks Configuration Properties 
- 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
- SecurityGroup List<string>Ids 
- List of security group IDs
- ClusterArn string
- ARN of an EKS cluster
- SubnetIds []string
- List of subnet IDs
- SecurityGroup []stringIds 
- List of security group IDs
- clusterArn String
- ARN of an EKS cluster
- subnetIds List<String>
- List of subnet IDs
- securityGroup List<String>Ids 
- List of security group IDs
- clusterArn string
- ARN of an EKS cluster
- subnetIds string[]
- List of subnet IDs
- securityGroup string[]Ids 
- List of security group IDs
- cluster_arn str
- ARN of an EKS cluster
- subnet_ids Sequence[str]
- List of subnet IDs
- security_group_ Sequence[str]ids 
- List of security group IDs
- clusterArn String
- ARN of an EKS cluster
- subnetIds List<String>
- List of subnet IDs
- securityGroup List<String>Ids 
- List of security group IDs
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.