We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.aps.getScraper
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource Type definition for AWS::APS::Scraper
Using getScraper
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 getScraper(args: GetScraperArgs, opts?: InvokeOptions): Promise<GetScraperResult>
function getScraperOutput(args: GetScraperOutputArgs, opts?: InvokeOptions): Output<GetScraperResult>def get_scraper(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScraperResult
def get_scraper_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScraperResult]func LookupScraper(ctx *Context, args *LookupScraperArgs, opts ...InvokeOption) (*LookupScraperResult, error)
func LookupScraperOutput(ctx *Context, args *LookupScraperOutputArgs, opts ...InvokeOption) LookupScraperResultOutput> Note: This function is named LookupScraper in the Go SDK.
public static class GetScraper
{
public static Task<GetScraperResult> InvokeAsync(GetScraperArgs args, InvokeOptions? opts = null)
public static Output<GetScraperResult> Invoke(GetScraperInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScraperResult> getScraper(GetScraperArgs args, InvokeOptions options)
public static Output<GetScraperResult> getScraper(GetScraperArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:aps:getScraper
arguments:
# arguments dictionaryThe following arguments are supported:
- Arn string
- Scraper ARN.
- Arn string
- Scraper ARN.
- arn String
- Scraper ARN.
- arn string
- Scraper ARN.
- arn str
- Scraper ARN.
- arn String
- Scraper ARN.
getScraper Result
The following output properties are available:
- Alias string
- Scraper alias.
- Arn string
- Scraper ARN.
- Destination
Pulumi.
Aws Native. Aps. Outputs. Scraper Destination - The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- Role
Arn string - IAM role ARN for the scraper.
- Role
Configuration Pulumi.Aws Native. Aps. Outputs. Scraper Role Configuration - The role configuration in an Amazon Managed Service for Prometheus scraper.
- Scrape
Configuration Pulumi.Aws Native. Aps. Outputs. Scraper Scrape Configuration - The configuration in use by the scraper.
- Scraper
Id string - Required to identify a specific scraper.
- Scraper
Logging Pulumi.Configuration Aws Native. Aps. Outputs. Scraper Logging Configuration - The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Alias string
- Scraper alias.
- Arn string
- Scraper ARN.
- Destination
Scraper
Destination - The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- Role
Arn string - IAM role ARN for the scraper.
- Role
Configuration ScraperRole Configuration - The role configuration in an Amazon Managed Service for Prometheus scraper.
- Scrape
Configuration ScraperScrape Configuration - The configuration in use by the scraper.
- Scraper
Id string - Required to identify a specific scraper.
- Scraper
Logging ScraperConfiguration Logging Configuration - The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- Tag
- An array of key-value pairs to apply to this resource.
- alias String
- Scraper alias.
- arn String
- Scraper ARN.
- destination
Scraper
Destination - The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- role
Arn String - IAM role ARN for the scraper.
- role
Configuration ScraperRole Configuration - The role configuration in an Amazon Managed Service for Prometheus scraper.
- scrape
Configuration ScraperScrape Configuration - The configuration in use by the scraper.
- scraper
Id String - Required to identify a specific scraper.
- scraper
Logging ScraperConfiguration Logging Configuration - The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- alias string
- Scraper alias.
- arn string
- Scraper ARN.
- destination
Scraper
Destination - The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- role
Arn string - IAM role ARN for the scraper.
- role
Configuration ScraperRole Configuration - The role configuration in an Amazon Managed Service for Prometheus scraper.
- scrape
Configuration ScraperScrape Configuration - The configuration in use by the scraper.
- scraper
Id string - Required to identify a specific scraper.
- scraper
Logging ScraperConfiguration Logging Configuration - The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- Tag[]
- An array of key-value pairs to apply to this resource.
- alias str
- Scraper alias.
- arn str
- Scraper ARN.
- destination
Scraper
Destination - The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- role_
arn str - IAM role ARN for the scraper.
- role_
configuration ScraperRole Configuration - The role configuration in an Amazon Managed Service for Prometheus scraper.
- scrape_
configuration ScraperScrape Configuration - The configuration in use by the scraper.
- scraper_
id str - Required to identify a specific scraper.
- scraper_
logging_ Scraperconfiguration Logging Configuration - The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- alias String
- Scraper alias.
- arn String
- Scraper ARN.
- destination Property Map
- The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
- role
Arn String - IAM role ARN for the scraper.
- role
Configuration Property Map - The role configuration in an Amazon Managed Service for Prometheus scraper.
- scrape
Configuration Property Map - The configuration in use by the scraper.
- scraper
Id String - Required to identify a specific scraper.
- scraper
Logging Property MapConfiguration - The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
ScraperCloudWatchLogDestination
- Log
Group stringArn - ARN of the CloudWatch log group
- Log
Group stringArn - ARN of the CloudWatch log group
- log
Group StringArn - ARN of the CloudWatch log group
- log
Group stringArn - ARN of the CloudWatch log group
- log_
group_ strarn - ARN of the CloudWatch log group
- log
Group StringArn - ARN of the CloudWatch log group
ScraperComponent
- Type
Pulumi.
Aws Native. Aps. Scraper Component Type - The type of the scraper component.
- Config
Pulumi.
Aws Native. Aps. Inputs. Scraper Component Config - The configuration settings for the scraper component.
- Type
Scraper
Component Type - The type of the scraper component.
- Config
Scraper
Component Config - The configuration settings for the scraper component.
- type
Scraper
Component Type - The type of the scraper component.
- config
Scraper
Component Config - The configuration settings for the scraper component.
- type
Scraper
Component Type - The type of the scraper component.
- config
Scraper
Component Config - The configuration settings for the scraper component.
- type
Scraper
Component Type - The type of the scraper component.
- config
Scraper
Component Config - The configuration settings for the scraper component.
- type "SERVICE_DISCOVERY" | "COLLECTOR" | "EXPORTER"
- The type of the scraper component.
- config Property Map
- The configuration settings for the scraper component.
ScraperComponentConfig
- Options Dictionary<string, string>
- Configuration options for the scraper component.
- Options map[string]string
- Configuration options for the scraper component.
- options Map<String,String>
- Configuration options for the scraper component.
- options {[key: string]: string}
- Configuration options for the scraper component.
- options Mapping[str, str]
- Configuration options for the scraper component.
- options Map<String>
- Configuration options for the scraper component.
ScraperComponentType
ScraperDestination
- 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
- 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
ScraperLoggingConfiguration
ScraperLoggingDestination
- Cloud
Watch Pulumi.Logs Aws Native. Aps. Inputs. Scraper Cloud Watch Log Destination - The CloudWatch Logs configuration for the scraper logging destination.
- Cloud
Watch ScraperLogs Cloud Watch Log Destination - The CloudWatch Logs configuration for the scraper logging destination.
- cloud
Watch ScraperLogs Cloud Watch Log Destination - The CloudWatch Logs configuration for the scraper logging destination.
- cloud
Watch ScraperLogs Cloud Watch Log Destination - The CloudWatch Logs configuration for the scraper logging destination.
- cloud_
watch_ Scraperlogs Cloud Watch Log Destination - The CloudWatch Logs configuration for the scraper logging destination.
- cloud
Watch Property MapLogs - The CloudWatch Logs configuration for the scraper logging destination.
ScraperRoleConfiguration
- Source
Role stringArn - IAM Role in source account
- Target
Role stringArn - IAM Role in the target account
- Source
Role stringArn - IAM Role in source account
- Target
Role stringArn - IAM Role in the target account
- source
Role StringArn - IAM Role in source account
- target
Role StringArn - IAM Role in the target account
- source
Role stringArn - IAM Role in source account
- target
Role stringArn - IAM Role in the target account
- source_
role_ strarn - IAM Role in source account
- target_
role_ strarn - IAM Role in the target account
- source
Role StringArn - IAM Role in source account
- target
Role StringArn - IAM Role in the target account
ScraperScrapeConfiguration
- 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
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
