interface AmpConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnScraperPropsMixin.AmpConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnScraperPropsMixin_AmpConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnScraperPropsMixin.AmpConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnScraperPropsMixin.AmpConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » CfnScraperPropsMixin » 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 { mixins as aps_mixins } from '@aws-cdk/mixins-preview/aws-aps';
const ampConfigurationProperty: aps_mixins.CfnScraperPropsMixin.AmpConfigurationProperty = {
workspaceArn: 'workspaceArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| workspace | string | ARN of the Amazon Managed Service for Prometheus workspace. |
workspaceArn?
Type:
string
(optional)
ARN of the Amazon Managed Service for Prometheus workspace.

.NET
Go
Java
Python
TypeScript