Skip to content

/AWS1/CL_EMRCLOUDWATCHLOGCONF

Holds CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enabled TYPE /AWS1/EMRBOOLEAN /AWS1/EMRBOOLEAN

Specifies if CloudWatch logging is enabled.

Optional arguments:

iv_loggroupname TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

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

iv_logstreamnameprefix TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The prefix of the log stream name.

iv_encryptionkeyarn TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The ARN of the encryption key used to encrypt the logs.

it_logtypes TYPE /AWS1/CL_EMRXMLSTRINGLIST_W=>TT_LOGTYPESMAP TT_LOGTYPESMAP

A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.


Queryable Attributes

Enabled

Specifies if CloudWatch logging is enabled.

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

LogGroupName

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

Accessible with the following methods

Method Description
GET_LOGGROUPNAME() Getter for LOGGROUPNAME, with configurable default
ASK_LOGGROUPNAME() Getter for LOGGROUPNAME w/ exceptions if field has no value
HAS_LOGGROUPNAME() Determine if LOGGROUPNAME has a value

LogStreamNamePrefix

The prefix of the log stream name.

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 ARN of the encryption key used to encrypt the 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 types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and 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