/AWS1/CL_EC2IPAMPREFIXLSTRES01¶
Describes a condition used when creating or modifying resolver rules.
CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.
There are three rule types. Only 2 of the 3 rule types support conditions - IPAM pool CIDR and Scope resource CIDR. Static CIDR rules cannot have conditions.
-
Static CIDR: A fixed list of CIDRs that do not change (like a manual list replicated across Regions)
-
IPAM pool CIDR: CIDRs from specific IPAM pools (like all CIDRs from your IPAM production pool)
If you choose this option, choose the following:
-
IPAM scope: Select the IPAM scope to search for resources
-
Conditions:
-
Property
-
IPAM pool ID: Select an IPAM pool that contains the resources
-
CIDR (like 10.24.34.0/23)
-
-
Operation: Equals/Not equals
-
Value: The value on which to match the condition
-
-
-
Scope resource CIDR: CIDRs from Amazon Web Services resources like VPCs, subnets, EIPs within an IPAM scope
If you choose this option, choose the following:
-
IPAM scope: Select the IPAM scope to search for resources
-
Resource type: Select a resource, like a VPC or subnet.
-
Conditions:
-
Property:
-
Resource ID: The unique ID of a resource (like vpc-1234567890abcdef0)
-
Resource owner (like 111122223333)
-
Resource region (like us-east-1)
-
Resource tag (like key: name, value: dev-vpc-1)
-
CIDR (like 10.24.34.0/23)
-
-
Operation: Equals/Not equals
-
Value: The value on which to match the condition
-
-
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_operation TYPE /AWS1/EC2IPAMPREFIXLSTRESLVR01 /AWS1/EC2IPAMPREFIXLSTRESLVR01¶
The operation to perform when evaluating this condition.
Optional arguments:¶
iv_ipampoolid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The ID of the IPAM pool to match against. This condition selects CIDRs that belong to the specified IPAM pool.
iv_resourceid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The ID of the Amazon Web Services resource to match against. This condition selects CIDRs associated with the specified resource.
iv_resourceowner TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The Amazon Web Services account ID that owns the resources to match against. This condition selects CIDRs from resources owned by the specified account.
iv_resourceregion TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The Amazon Web Services Region where the resources are located. This condition selects CIDRs from resources in the specified Region.
io_resourcetag TYPE REF TO /AWS1/CL_EC2REQIPAMRESOURCETAG /AWS1/CL_EC2REQIPAMRESOURCETAG¶
A tag key-value pair to match against. This condition selects CIDRs from resources that have the specified tag.
iv_cidr TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
A CIDR block to match against. This condition selects CIDRs that fall within or match the specified CIDR range.
Queryable Attributes¶
Operation¶
The operation to perform when evaluating this condition.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OPERATION() |
Getter for OPERATION, with configurable default |
ASK_OPERATION() |
Getter for OPERATION w/ exceptions if field has no value |
HAS_OPERATION() |
Determine if OPERATION has a value |
IpamPoolId¶
The ID of the IPAM pool to match against. This condition selects CIDRs that belong to the specified IPAM pool.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IPAMPOOLID() |
Getter for IPAMPOOLID, with configurable default |
ASK_IPAMPOOLID() |
Getter for IPAMPOOLID w/ exceptions if field has no value |
HAS_IPAMPOOLID() |
Determine if IPAMPOOLID has a value |
ResourceId¶
The ID of the Amazon Web Services resource to match against. This condition selects CIDRs associated with the specified resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESOURCEID() |
Getter for RESOURCEID, with configurable default |
ASK_RESOURCEID() |
Getter for RESOURCEID w/ exceptions if field has no value |
HAS_RESOURCEID() |
Determine if RESOURCEID has a value |
ResourceOwner¶
The Amazon Web Services account ID that owns the resources to match against. This condition selects CIDRs from resources owned by the specified account.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESOURCEOWNER() |
Getter for RESOURCEOWNER, with configurable default |
ASK_RESOURCEOWNER() |
Getter for RESOURCEOWNER w/ exceptions if field has no value |
HAS_RESOURCEOWNER() |
Determine if RESOURCEOWNER has a value |
ResourceRegion¶
The Amazon Web Services Region where the resources are located. This condition selects CIDRs from resources in the specified Region.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESOURCEREGION() |
Getter for RESOURCEREGION, with configurable default |
ASK_RESOURCEREGION() |
Getter for RESOURCEREGION w/ exceptions if field has no valu |
HAS_RESOURCEREGION() |
Determine if RESOURCEREGION has a value |
ResourceTag¶
A tag key-value pair to match against. This condition selects CIDRs from resources that have the specified tag.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESOURCETAG() |
Getter for RESOURCETAG |
Cidr¶
A CIDR block to match against. This condition selects CIDRs that fall within or match the specified CIDR range.
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 |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_IPAMPREFIXLSTRESLVRLCONDR00¶
TYPES TT_IPAMPREFIXLSTRESLVRLCONDR00 TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2IPAMPREFIXLSTRES01 WITH DEFAULT KEY
.