Skip to content

/AWS1/CL_KNSCLOUDWATCHLOGS

The Amazon CloudWatch Logs settings for channel logging.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enabled TYPE /AWS1/KNSBOOLEANOBJECT /AWS1/KNSBOOLEANOBJECT

Specifies whether logging to Amazon CloudWatch Logs is enabled.

Optional arguments:

iv_loggroupname TYPE /AWS1/KNSCWLOGGROUPNAME /AWS1/KNSCWLOGGROUPNAME

The name of the Amazon CloudWatch Logs log group. Defaults to /aws/kinesis/{channelName}/{channelId}.

iv_logstreamname TYPE /AWS1/KNSCWLOGSTREAMNAME /AWS1/KNSCWLOGSTREAMNAME

The name of the Amazon CloudWatch Logs log stream. Defaults to DestinationDelivery.


Queryable Attributes

Enabled

Specifies whether logging to Amazon CloudWatch Logs 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 Amazon CloudWatch Logs log group. Defaults to /aws/kinesis/{channelName}/{channelId}.

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

LogStreamName

The name of the Amazon CloudWatch Logs log stream. Defaults to DestinationDelivery.

Accessible with the following methods

Method Description
GET_LOGSTREAMNAME() Getter for LOGSTREAMNAME, with configurable default
ASK_LOGSTREAMNAME() Getter for LOGSTREAMNAME w/ exceptions if field has no value
HAS_LOGSTREAMNAME() Determine if LOGSTREAMNAME has a value