/AWS1/CL_EC2IPRANGE¶
Describes an IPv4 address range.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_description TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
iv_cidrip TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The IPv4 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.
Amazon Web Services canonicalizes IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block, Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.
Queryable Attributes¶
Description¶
A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_DESCRIPTION() | Getter for DESCRIPTION, with configurable default | 
| ASK_DESCRIPTION() | Getter for DESCRIPTION w/ exceptions if field has no value | 
| HAS_DESCRIPTION() | Determine if DESCRIPTION has a value | 
CidrIp¶
The IPv4 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.
Amazon Web Services canonicalizes IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block, Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_CIDRIP() | Getter for CIDRIP, with configurable default | 
| ASK_CIDRIP() | Getter for CIDRIP w/ exceptions if field has no value | 
| HAS_CIDRIP() | Determine if CIDRIP has a value | 
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_IPRANGELIST¶
TYPES TT_IPRANGELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2IPRANGE WITH DEFAULT KEY
.