CloudWatchDirectQueryDataSource - Amazon OpenSearch Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

CloudWatchDirectQueryDataSource

Configuration details for a CloudWatch Logs data source that can be used for direct queries.

Contents

RoleArn

The unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source.

Type: String

Length Constraints: Minimum length of 32. Maximum length of 200.

Pattern: ^arn:aws[a-zA-Z-]*:iam::\d{12}:role(\/service-role)?\/[A-Za-z0-9+=,.@\-_]{1,64}$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: