interface DestinationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APS.CfnScraper.DestinationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnScraper_DestinationProperty |
Java | software.amazon.awscdk.services.aps.CfnScraper.DestinationProperty |
Python | aws_cdk.aws_aps.CfnScraper.DestinationProperty |
TypeScript | aws-cdk-lib » aws_aps » CfnScraper » DestinationProperty |
Where to send the metrics from a scraper.
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 destinationProperty: aps.CfnScraper.DestinationProperty = {
ampConfiguration: {
workspaceArn: 'workspaceArn',
},
cloudWatchConfiguration: {
datasetArn: 'datasetArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| amp | IResolvable | Amp | The Amazon Managed Service for Prometheus workspace to send metrics to. |
| cloud | IResolvable | Cloud | Configuration for CloudWatch metrics destination. |
ampConfiguration?
Type:
IResolvable | Amp
(optional)
The Amazon Managed Service for Prometheus workspace to send metrics to.
cloudWatchConfiguration?
Type:
IResolvable | Cloud
(optional)
Configuration for CloudWatch metrics destination.

.NET
Go
Java
Python
TypeScript