interface CloudwatchConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.LookoutMetrics.Mixins.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslookoutmetrics/mixins#CfnAnomalyDetectorPropsMixin_CloudwatchConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.lookoutmetrics.mixins.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty |
Python | aws_cdk.mixins_preview.aws_lookoutmetrics.mixins.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lookoutmetrics » mixins » CfnAnomalyDetectorPropsMixin » CloudwatchConfigProperty |
Details about an Amazon CloudWatch datasource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lookoutmetrics_mixins } from '@aws-cdk/mixins-preview/aws-lookoutmetrics';
const cloudwatchConfigProperty: lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty = {
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| role | string | An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch. |
roleArn?
Type:
string
(optional)
An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch.

.NET
Go
Java
Python
TypeScript