/AWS1/CL_EC2ANALYSISACLRULE¶
Describes a network access control (ACL) rule.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_cidr TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The IPv4 address range, in CIDR notation.
iv_egress TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN¶
Indicates whether the rule is an outbound rule.
io_portrange TYPE REF TO /AWS1/CL_EC2PORTRANGE /AWS1/CL_EC2PORTRANGE¶
The range of ports.
iv_protocol TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The protocol.
iv_ruleaction TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
Indicates whether to allow or deny traffic that matches the rule.
iv_rulenumber TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER¶
The rule number.
Queryable Attributes¶
Cidr¶
The IPv4 address range, in CIDR notation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CIDR() |
Getter for CIDR, with configurable default |
ASK_CIDR() |
Getter for CIDR w/ exceptions if field has no value |
HAS_CIDR() |
Determine if CIDR has a value |
Egress¶
Indicates whether the rule is an outbound rule.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EGRESS() |
Getter for EGRESS, with configurable default |
ASK_EGRESS() |
Getter for EGRESS w/ exceptions if field has no value |
HAS_EGRESS() |
Determine if EGRESS has a value |
PortRange¶
The range of ports.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PORTRANGE() |
Getter for PORTRANGE |
Protocol¶
The protocol.
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 |
RuleAction¶
Indicates whether to allow or deny traffic that matches the rule.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULEACTION() |
Getter for RULEACTION, with configurable default |
ASK_RULEACTION() |
Getter for RULEACTION w/ exceptions if field has no value |
HAS_RULEACTION() |
Determine if RULEACTION has a value |
RuleNumber¶
The rule number.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULENUMBER() |
Getter for RULENUMBER, with configurable default |
ASK_RULENUMBER() |
Getter for RULENUMBER w/ exceptions if field has no value |
HAS_RULENUMBER() |
Determine if RULENUMBER has a value |