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

iv_bgplogenabled TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Specifies whether to enable BGP logging for the VPN connection. Default value is False.

Valid values: True | False

iv_bgploggrouparn TYPE /AWS1/EC2CLOUDWATCHLOGGROUPARN /AWS1/EC2CLOUDWATCHLOGGROUPARN

The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.

iv_bgplogoutputformat TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The desired output format for BGP logs to be sent to CloudWatch. 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

BgpLogEnabled

Specifies whether to enable BGP logging for the VPN connection. Default value is False.

Valid values: True | False

Accessible with the following methods

Method Description
GET_BGPLOGENABLED() Getter for BGPLOGENABLED, with configurable default
ASK_BGPLOGENABLED() Getter for BGPLOGENABLED w/ exceptions if field has no value
HAS_BGPLOGENABLED() Determine if BGPLOGENABLED has a value

BgpLogGroupArn

The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.

Accessible with the following methods

Method Description
GET_BGPLOGGROUPARN() Getter for BGPLOGGROUPARN, with configurable default
ASK_BGPLOGGROUPARN() Getter for BGPLOGGROUPARN w/ exceptions if field has no valu
HAS_BGPLOGGROUPARN() Determine if BGPLOGGROUPARN has a value

BgpLogOutputFormat

The desired output format for BGP logs to be sent to CloudWatch. Default format is json.

Valid values: json | text

Accessible with the following methods

Method Description
GET_BGPLOGOUTPUTFORMAT() Getter for BGPLOGOUTPUTFORMAT, with configurable default
ASK_BGPLOGOUTPUTFORMAT() Getter for BGPLOGOUTPUTFORMAT w/ exceptions if field has no
HAS_BGPLOGOUTPUTFORMAT() Determine if BGPLOGOUTPUTFORMAT has a value