Skip to content

/AWS1/CL_EC2TGWREQPOLICYRULE

The matching criteria for a transit gateway policy table entry.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_sourcecidrblock TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The source CIDR block for the policy rule.

iv_sourceportrange TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The source port or port range for the policy rule. You can specify a port range only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this value must be *.

iv_destinationcidrblock TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The destination CIDR block for the policy rule.

iv_destinationportrange TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The destination port or port range for the policy rule. You can specify a port range only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this value must be *.

iv_protocol TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The protocol for the policy rule. Valid values are 1 (ICMP), 6 (TCP), 17 (UDP), 47 (GRE), or * for all protocols.

io_metadata TYPE REF TO /AWS1/CL_EC2TGWREQPLYRULEMET /AWS1/CL_EC2TGWREQPLYRULEMET

The metadata key-value pair for the policy rule.


Queryable Attributes

SourceCidrBlock

The source CIDR block for the policy rule.

Accessible with the following methods

Method Description
GET_SOURCECIDRBLOCK() Getter for SOURCECIDRBLOCK, with configurable default
ASK_SOURCECIDRBLOCK() Getter for SOURCECIDRBLOCK w/ exceptions if field has no val
HAS_SOURCECIDRBLOCK() Determine if SOURCECIDRBLOCK has a value

SourcePortRange

The source port or port range for the policy rule. You can specify a port range only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this value must be *.

Accessible with the following methods

Method Description
GET_SOURCEPORTRANGE() Getter for SOURCEPORTRANGE, with configurable default
ASK_SOURCEPORTRANGE() Getter for SOURCEPORTRANGE w/ exceptions if field has no val
HAS_SOURCEPORTRANGE() Determine if SOURCEPORTRANGE has a value

DestinationCidrBlock

The destination CIDR block for the policy rule.

Accessible with the following methods

Method Description
GET_DESTINATIONCIDRBLOCK() Getter for DESTINATIONCIDRBLOCK, with configurable default
ASK_DESTINATIONCIDRBLOCK() Getter for DESTINATIONCIDRBLOCK w/ exceptions if field has n
HAS_DESTINATIONCIDRBLOCK() Determine if DESTINATIONCIDRBLOCK has a value

DestinationPortRange

The destination port or port range for the policy rule. You can specify a port range only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this value must be *.

Accessible with the following methods

Method Description
GET_DESTINATIONPORTRANGE() Getter for DESTINATIONPORTRANGE, with configurable default
ASK_DESTINATIONPORTRANGE() Getter for DESTINATIONPORTRANGE w/ exceptions if field has n
HAS_DESTINATIONPORTRANGE() Determine if DESTINATIONPORTRANGE has a value

Protocol

The protocol for the policy rule. Valid values are 1 (ICMP), 6 (TCP), 17 (UDP), 47 (GRE), or * for all protocols.

Accessible with the following methods

Method Description
GET_PROTOCOL() Getter for PROTOCOL, with configurable default
ASK_PROTOCOL() Getter for PROTOCOL w/ exceptions if field has no value
HAS_PROTOCOL() Determine if PROTOCOL has a value

MetaData

The metadata key-value pair for the policy rule.

Accessible with the following methods

Method Description
GET_METADATA() Getter for METADATA