Retrieves the CIDR selection rules for an IPAM prefix list resolver¶
Description¶
Retrieves the CIDR selection rules for an IPAM prefix list resolver. Use this operation to view the business logic that determines which CIDRs are selected for synchronization with prefix lists.
Usage¶
ec2_get_ipam_prefix_list_resolver_rules(DryRun,
IpamPrefixListResolverId, Filters, MaxResults, NextToken)
Arguments¶
-
DryRunA check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
IpamPrefixListResolverId[required] The ID of the IPAM prefix list resolver whose rules you want to retrieve.
-
FiltersOne or more filters to limit the results.
-
MaxResultsThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
NextTokenThe token for the next page of results.
Value¶
A list with the following syntax:
list(
Rules = list(
list(
RuleType = "static-cidr"|"ipam-resource-cidr"|"ipam-pool-cidr",
StaticCidr = "string",
IpamScopeId = "string",
ResourceType = "vpc"|"subnet"|"eip"|"public-ipv4-pool"|"ipv6-pool"|"eni"|"anycast-ip-list",
Conditions = list(
list(
Operation = "equals"|"not-equals"|"subnet-of",
IpamPoolId = "string",
ResourceId = "string",
ResourceOwner = "string",
ResourceRegion = "string",
ResourceTag = list(
Key = "string",
Value = "string"
),
Cidr = "string"
)
)
)
),
NextToken = "string"
)