PrometheusDirectQueryDataSource - Amazon OpenSearch Service

PrometheusDirectQueryDataSource

Configuration details for a Prometheus 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

WorkspaceArn

The unique identifier of the Amazon Managed Prometheus Workspace that is associated with the specified data source.

Type: String

Pattern: ^arn:aws[a-zA-Z-]*:aps:[a-z0-9-]+:[0-9]{12}:workspace\/ws-[a-z0-9-]*$

Required: Yes

See Also

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