IpamPrefixListResolverRule¶
Structure Class¶
IpamPrefixListResolverRule
dataclass
¶
Bases: _SerdeShape
Describes a CIDR selection rule.
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.
Attributes¶
conditions
class-attribute
instance-attribute
¶
conditions: list[IpamPrefixListResolverRuleCondition] | None = ...
The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.
ipam_scope_id
class-attribute
instance-attribute
¶
ipam_scope_id: str | None = ...
The ID of the IPAM scope from which to select CIDRs. This determines whether to select from public or private IP address space.
resource_type
class-attribute
instance-attribute
¶
resource_type: str | None = ...
For rules of type ipam-resource-cidr, this is the resource type.