Skip to content

Modifies an existing routing policy registration

Description

Modifies an existing routing policy registration. You can update the authorized ASNs, maximum prefix length, and other properties of a Route Origin Authorization (ROA).

Usage

ec2_modify_ipam_routing_policy_registration(DryRun,
  IpamInternetRegistryAssociationId, Cidr, Asns,
  PermitMoreSpecificAnnouncements, MaxLength, Description, Force,
  ClientToken)

Arguments

  • DryRun

Checks whether you have the required permissions for the operation, 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.

  • IpamInternetRegistryAssociationId

[required] The ID of the IPAM internet registry association.

  • Cidr

[required] The IP address prefix in CIDR notation identifying the routing policy registration to modify.

  • Asns

[required] The updated list of Autonomous System Numbers (ASNs) authorized to originate the prefix.

  • PermitMoreSpecificAnnouncements

Specifies whether to permit more specific route announcements than the CIDR prefix. Default: false.

  • MaxLength

The new maximum prefix length that the ASNs are authorized to announce. Must be greater than or equal to the prefix length of the CIDR.

  • Description

A new description for the routing policy registration.

  • Force

Forces the modification even if it conflicts with an announced route. Default: false.

  • ClientToken

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation ignores the request, but does not return an error.

Value

A list with the following syntax:

list(
  IpamRoutingPolicyRegistrationDelta = list(
    DeltaId = "string",
    DeltaJson = "string",
    State = "pending"|"published"|"failed",
    StateMessage = "string"
  )
)

Request syntax

svc$modify_ipam_routing_policy_registration(
  DryRun = TRUE|FALSE,
  IpamInternetRegistryAssociationId = "string",
  Cidr = "string",
  Asns = list(
    "string"
  ),
  PermitMoreSpecificAnnouncements = TRUE|FALSE,
  MaxLength = 123,
  Description = "string",
  Force = TRUE|FALSE,
  ClientToken = "string"
)