AWS Native is in preview. AWS Classic is fully supported.
aws-native.aps.Scraper
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const scraperResource = new aws_native.aps.Scraper("scraperResource", {
destination: {
ampConfiguration: {
workspaceArn: "string",
},
},
scrapeConfiguration: {
configurationBlob: "string",
},
source: {
eksConfiguration: {
clusterArn: "string",
subnetIds: ["string"],
securityGroupIds: ["string"],
},
},
alias: "string",
tags: [{
key: "string",
value: "string",
}],
});
Coming soon!
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.
Aws Native. Aps. Inputs. Scraper Destination - Scrape
Configuration Pulumi.Aws Native. Aps. Inputs. Scraper Scrape Configuration - Source
Pulumi.
Aws Native. Aps. Inputs. Scraper Source - Alias string
- Scraper alias.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Destination
Scraper
Destination Args - Scrape
Configuration ScraperScrape Configuration Args - Source
Scraper
Source Args - Alias string
- Scraper alias.
- Tag
Args - An array of key-value pairs to apply to this resource.
- destination
Scraper
Destination - scrape
Configuration ScraperScrape Configuration - source
Scraper
Source - alias String
- Scraper alias.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- destination
Scraper
Destination - scrape
Configuration ScraperScrape Configuration - source
Scraper
Source - alias string
- Scraper alias.
- Tag[]
- An array of key-value pairs to apply to this resource.
- destination
Scraper
Destination Args - scrape_
configuration ScraperScrape Configuration Args - source
Scraper
Source Args - alias str
- Scraper alias.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- destination Property Map
- scrape
Configuration Property Map - source Property Map
- alias String
- Scraper alias.
- 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
- Amp
Configuration Pulumi.Aws Native. Aps. Inputs. Scraper Destination Amp Configuration Properties - Configuration for Amazon Managed Prometheus metrics destination
- Amp
Configuration ScraperDestination Amp Configuration Properties - Configuration for Amazon Managed Prometheus metrics destination
- amp
Configuration ScraperDestination Amp Configuration Properties - Configuration for Amazon Managed Prometheus metrics destination
- amp
Configuration ScraperDestination Amp Configuration Properties - Configuration for Amazon Managed Prometheus metrics destination
- amp_
configuration ScraperDestination Amp Configuration Properties - Configuration for Amazon Managed Prometheus metrics destination
- amp
Configuration Property Map - Configuration for Amazon Managed Prometheus metrics destination
ScraperDestinationAmpConfigurationProperties, ScraperDestinationAmpConfigurationPropertiesArgs
- Workspace
Arn string - ARN of an Amazon Managed Prometheus workspace
- Workspace
Arn string - ARN of an Amazon Managed Prometheus workspace
- workspace
Arn String - ARN of an Amazon Managed Prometheus workspace
- workspace
Arn string - ARN of an Amazon Managed Prometheus workspace
- workspace_
arn str - ARN of an Amazon Managed Prometheus workspace
- workspace
Arn String - ARN of an Amazon Managed Prometheus workspace
ScraperScrapeConfiguration, ScraperScrapeConfigurationArgs
- Configuration
Blob string - Prometheus compatible scrape configuration in base64 encoded blob format
- Configuration
Blob string - Prometheus compatible scrape configuration in base64 encoded blob format
- configuration
Blob String - Prometheus compatible scrape configuration in base64 encoded blob format
- configuration
Blob string - Prometheus compatible scrape configuration in base64 encoded blob format
- configuration_
blob str - Prometheus compatible scrape configuration in base64 encoded blob format
- configuration
Blob String - Prometheus compatible scrape configuration in base64 encoded blob format
ScraperSource, ScraperSourceArgs
- Eks
Configuration Pulumi.Aws Native. Aps. Inputs. Scraper Source Eks Configuration Properties - Configuration for EKS metrics source
- Eks
Configuration ScraperSource Eks Configuration Properties - Configuration for EKS metrics source
- eks
Configuration ScraperSource Eks Configuration Properties - Configuration for EKS metrics source
- eks
Configuration ScraperSource Eks Configuration Properties - Configuration for EKS metrics source
- eks_
configuration ScraperSource Eks Configuration Properties - Configuration for EKS metrics source
- eks
Configuration Property Map - Configuration for EKS metrics source
ScraperSourceEksConfigurationProperties, ScraperSourceEksConfigurationPropertiesArgs
- Cluster
Arn string - ARN of an EKS cluster
- Subnet
Ids List<string> - List of subnet IDs
- Security
Group List<string>Ids - List of security group IDs
- Cluster
Arn string - ARN of an EKS cluster
- Subnet
Ids []string - List of subnet IDs
- Security
Group []stringIds - List of security group IDs
- cluster
Arn String - ARN of an EKS cluster
- subnet
Ids List<String> - List of subnet IDs
- security
Group List<String>Ids - List of security group IDs
- cluster
Arn string - ARN of an EKS cluster
- subnet
Ids string[] - List of subnet IDs
- security
Group 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
- cluster
Arn String - ARN of an EKS cluster
- subnet
Ids List<String> - List of subnet IDs
- security
Group List<String>Ids - List of security group IDs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.