Skip to content

/AWS1/CL_EMRSESSCLOUDWATCHLO00

The CloudWatch Logs configuration for a session.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_enabled TYPE /AWS1/EMRBOOLEAN /AWS1/EMRBOOLEAN

Whether CloudWatch Logs is enabled for the session.

iv_loggroup TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The name of the log group where session logs are published.

iv_logstreamnameprefix TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The prefix applied to the log stream name where session logs are published.

iv_encryptionkeyarn TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.

it_logtypes TYPE /AWS1/CL_EMRXMLSTRINGLIST_W=>TT_LOGTYPESMAP TT_LOGTYPESMAP

A map of log component names (for example, SPARK_DRIVER, SPARK_EXECUTOR) to the list of log types to publish for that component (for example, stdout, stderr).


Queryable Attributes

Enabled

Whether CloudWatch Logs is enabled for the session.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED, with configurable default
ASK_ENABLED() Getter for ENABLED w/ exceptions if field has no value
HAS_ENABLED() Determine if ENABLED has a value

LogGroup

The name of the log group where session logs are published.

Accessible with the following methods

Method Description
GET_LOGGROUP() Getter for LOGGROUP, with configurable default
ASK_LOGGROUP() Getter for LOGGROUP w/ exceptions if field has no value
HAS_LOGGROUP() Determine if LOGGROUP has a value

LogStreamNamePrefix

The prefix applied to the log stream name where session logs are published.

Accessible with the following methods

Method Description
GET_LOGSTREAMNAMEPREFIX() Getter for LOGSTREAMNAMEPREFIX, with configurable default
ASK_LOGSTREAMNAMEPREFIX() Getter for LOGSTREAMNAMEPREFIX w/ exceptions if field has no
HAS_LOGSTREAMNAMEPREFIX() Determine if LOGSTREAMNAMEPREFIX has a value

EncryptionKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.

Accessible with the following methods

Method Description
GET_ENCRYPTIONKEYARN() Getter for ENCRYPTIONKEYARN, with configurable default
ASK_ENCRYPTIONKEYARN() Getter for ENCRYPTIONKEYARN w/ exceptions if field has no va
HAS_ENCRYPTIONKEYARN() Determine if ENCRYPTIONKEYARN has a value

LogTypes

A map of log component names (for example, SPARK_DRIVER, SPARK_EXECUTOR) to the list of log types to publish for that component (for example, stdout, stderr).

Accessible with the following methods

Method Description
GET_LOGTYPES() Getter for LOGTYPES, with configurable default
ASK_LOGTYPES() Getter for LOGTYPES w/ exceptions if field has no value
HAS_LOGTYPES() Determine if LOGTYPES has a value