interface CloudwatchConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.LookoutMetrics.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslookoutmetrics#CfnAnomalyDetectorPropsMixin_CloudwatchConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_lookoutmetrics.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lookoutmetrics » 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 { aws_lookoutmetrics as lookoutmetrics } from '@aws-cdk/cfn-property-mixins';
const cloudwatchConfigProperty: lookoutmetrics.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty = {
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| role | string | IRole | An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch. |
roleArn?
Type:
string | IRole
(optional)
An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch.

.NET
Go
Java
Python
TypeScript