Skip to content

PrometheusDirectQueryDataSource

Source code in docs_src/capo_opensearch/types/prometheus_direct_query_data_source.py
class PrometheusDirectQueryDataSource(TypedDict, closed=True):
    role_arn: "capo_opensearch.types.direct_query_data_source_role_arn.DirectQueryDataSourceRoleArn"
    """<p> The unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source. </p>"""
    workspace_arn: "capo_opensearch.types.amp_workspace_arn.AMPWorkspaceArn"
    """<p> The unique identifier of the Amazon Managed Prometheus Workspace that is associated with the specified data source. </p>"""

role_arn instance-attribute

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

workspace_arn instance-attribute

workspace_arn: AMPWorkspaceArn

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