Skip to content

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

  • DryRun

    A 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 is UnauthorizedOperation.

  • IpamPrefixListResolverId

    [required] The ID of the IPAM prefix list resolver whose rules you want to retrieve.

  • Filters

    One or more filters to limit the results.

  • MaxResults

    The 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.

  • NextToken

    The 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"
)

Request syntax

svc$get_ipam_prefix_list_resolver_rules(
  DryRun = TRUE|FALSE,
  IpamPrefixListResolverId = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)