create_ipam_routing_policy_registration
async
¶
create_ipam_routing_policy_registration(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_internet_registry_association_id: Optional[
IpamInternetRegistryAssociationId
] = None,
cidr: Optional[String] = None,
asns: Optional[AsnList] = None,
permit_more_specific_announcements: Optional[BoxedBoolean] = None,
max_length: Optional[IpamRoutingPolicyRegistrationMaxLength] = None,
description: Optional[String] = None,
force: Optional[BoxedBoolean] = None,
client_token: Optional[String] = None,
) -> CreateIpamRoutingPolicyRegistrationResult
Creates a routing policy registration and publishes Route Origin Authorizations (ROAs) to the RPKI for the specified CIDR prefix and ASNs.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
ipam_internet_registry_association_id(Optional[IpamInternetRegistryAssociationId], default:None) –The ID of the IPAM internet registry association.
-
cidr(Optional[String], default:None) –The IP address prefix in CIDR notation to authorize in the ROA.
-
asns(Optional[AsnList], default:None) –The Autonomous System Numbers (ASNs) authorized to originate the prefix.
-
permit_more_specific_announcements(Optional[BoxedBoolean], default:None) –Specifies whether to permit more specific route announcements than the CIDR prefix. When enabled, ASNs can announce sub-prefixes of the authorized CIDR up to the specified maximum length. Default:
false. -
max_length(Optional[IpamRoutingPolicyRegistrationMaxLength], default:None) –The maximum prefix length that the ASNs are authorized to announce. Must be greater than or equal to the prefix length of the CIDR. If not specified, defaults to the prefix length of the CIDR (exact match only).
-
description(Optional[String], default:None) –A description for the routing policy registration.
-
force(Optional[BoxedBoolean], default:None) –Forces the creation of the routing policy registration even if it conflicts with an announced route. Default:
false. -
client_token(Optional[String], default:None) –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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 | |