Skip to content

Modify Ipam Prefix List Resolver

ec2_modify_ipam_prefix_list_resolver R Documentation

Modifies an IPAM prefix list resolver

Description

Modifies an IPAM prefix list resolver. You can update the description and CIDR selection rules. Changes to rules will trigger re-evaluation and potential updates to associated prefix lists.

Usage

ec2_modify_ipam_prefix_list_resolver(DryRun, IpamPrefixListResolverId,
  Description, Rules)

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 to modify.

Description

A new description for the IPAM prefix list resolver.

Rules

The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.

Value

A list with the following syntax:

list(
  IpamPrefixListResolver = list(
    OwnerId = "string",
    IpamPrefixListResolverId = "string",
    IpamPrefixListResolverArn = "string",
    IpamArn = "string",
    IpamRegion = "string",
    Description = "string",
    AddressFamily = "ipv4"|"ipv6",
    State = "create-in-progress"|"create-complete"|"create-failed"|"modify-in-progress"|"modify-complete"|"modify-failed"|"delete-in-progress"|"delete-complete"|"delete-failed"|"isolate-in-progress"|"isolate-complete"|"restore-in-progress",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    ),
    LastVersionCreationStatus = "pending"|"success"|"failure",
    LastVersionCreationStatusMessage = "string"
  )
)

Request syntax

svc$modify_ipam_prefix_list_resolver(
  DryRun = TRUE|FALSE,
  IpamPrefixListResolverId = "string",
  Description = "string",
  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"
        )
      )
    )
  )
)