Skip to content

/AWS1/CL_OSRPRMDIRQUERYDATASRC

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

CONSTRUCTOR

IMPORTING

Required arguments:

iv_rolearn TYPE /AWS1/OSRDIRECTQUERYDATASRCR00 /AWS1/OSRDIRECTQUERYDATASRCR00

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

iv_workspacearn TYPE /AWS1/OSRAMPWORKSPACEARN /AWS1/OSRAMPWORKSPACEARN

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


Queryable Attributes

RoleArn

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

Accessible with the following methods

Method Description
GET_ROLEARN() Getter for ROLEARN, with configurable default
ASK_ROLEARN() Getter for ROLEARN w/ exceptions if field has no value
HAS_ROLEARN() Determine if ROLEARN has a value

WorkspaceArn

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

Accessible with the following methods

Method Description
GET_WORKSPACEARN() Getter for WORKSPACEARN, with configurable default
ASK_WORKSPACEARN() Getter for WORKSPACEARN w/ exceptions if field has no value
HAS_WORKSPACEARN() Determine if WORKSPACEARN has a value