interface CloudwatchConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.LookoutMetrics.CfnAnomalyDetector.CloudwatchConfigProperty |
Java | software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.CloudwatchConfigProperty |
Python | aws_cdk.aws_lookoutmetrics.CfnAnomalyDetector.CloudwatchConfigProperty |
TypeScript | @aws-cdk/aws-lookoutmetrics » CfnAnomalyDetector » 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 * as lookoutmetrics from '@aws-cdk/aws-lookoutmetrics';
const cloudwatchConfigProperty: lookoutmetrics.CfnAnomalyDetector.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
An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch.