Skip to content

/AWS1/CL_EC2CLOUDWATCHLOGOPT00

Options for sending VPN tunnel logs to CloudWatch.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_logenabled TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Enable or disable VPN tunnel logging feature. Default value is False.

Valid values: True | False

iv_loggrouparn TYPE /AWS1/EC2CLOUDWATCHLOGGROUPARN /AWS1/EC2CLOUDWATCHLOGGROUPARN

The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.

iv_logoutputformat TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Set log format. Default format is json.

Valid values: json | text


Queryable Attributes

LogEnabled

Enable or disable VPN tunnel logging feature. Default value is False.

Valid values: True | False

Accessible with the following methods

Method Description
GET_LOGENABLED() Getter for LOGENABLED, with configurable default
ASK_LOGENABLED() Getter for LOGENABLED w/ exceptions if field has no value
HAS_LOGENABLED() Determine if LOGENABLED has a value

LogGroupArn

The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.

Accessible with the following methods

Method Description
GET_LOGGROUPARN() Getter for LOGGROUPARN, with configurable default
ASK_LOGGROUPARN() Getter for LOGGROUPARN w/ exceptions if field has no value
HAS_LOGGROUPARN() Determine if LOGGROUPARN has a value

LogOutputFormat

Set log format. Default format is json.

Valid values: json | text

Accessible with the following methods

Method Description
GET_LOGOUTPUTFORMAT() Getter for LOGOUTPUTFORMAT, with configurable default
ASK_LOGOUTPUTFORMAT() Getter for LOGOUTPUTFORMAT w/ exceptions if field has no val
HAS_LOGOUTPUTFORMAT() Determine if LOGOUTPUTFORMAT has a value