interface AmpConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APS.CfnScraper.AmpConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnScraper_AmpConfigurationProperty |
Java | software.amazon.awscdk.services.aps.CfnScraper.AmpConfigurationProperty |
Python | aws_cdk.aws_aps.CfnScraper.AmpConfigurationProperty |
TypeScript | aws-cdk-lib » aws_aps » CfnScraper » AmpConfigurationProperty |
The AmpConfiguration
structure defines the Amazon Managed Service for Prometheus instance a scraper should send metrics to.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const ampConfigurationProperty: aps.CfnScraper.AmpConfigurationProperty = {
workspaceArn: 'workspaceArn',
};
Properties
Name | Type | Description |
---|---|---|
workspace | string | ARN of the Amazon Managed Service for Prometheus workspace. |
workspaceArn
Type:
string
ARN of the Amazon Managed Service for Prometheus workspace.