create_ipam_prefix_list_resolver_target
async
¶
create_ipam_prefix_list_resolver_target(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_prefix_list_resolver_id: Optional[IpamPrefixListResolverId] = None,
prefix_list_id: Optional[String] = None,
prefix_list_region: Optional[String] = None,
desired_version: Optional[BoxedLong] = None,
track_latest_version: Optional[Boolean] = None,
tag_specifications: Optional[TagSpecificationList] = None,
client_token: Optional[String] = None,
) -> CreateIpamPrefixListResolverTargetResult
Creates an IPAM prefix list resolver target.
An IPAM prefix list resolver target is an association between a specific customer-managed prefix list and an IPAM prefix list resolver. The target enables the resolver to synchronize CIDRs selected by its rules into the specified prefix list, which can then be referenced in Amazon Web Services resources.
For more information about IPAM prefix list resolver, see Automate prefix list updates with IPAM in the Amazon VPC IPAM User Guide.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
ipam_prefix_list_resolver_id(Optional[IpamPrefixListResolverId], default:None) –The ID of the IPAM prefix list resolver that will manage the synchronization of CIDRs to the target prefix list.
-
prefix_list_id(Optional[String], default:None) –The ID of the managed prefix list that will be synchronized with CIDRs selected by the IPAM prefix list resolver. This prefix list becomes an IPAM managed prefix list.
An IPAM-managed prefix list is a customer-managed prefix list that has been associated with an IPAM prefix list resolver target. When a prefix list becomes IPAM managed, its CIDRs are automatically synchronized based on the IPAM prefix list resolver's CIDR selection rules, and direct CIDR modifications are restricted.
-
prefix_list_region(Optional[String], default:None) –The Amazon Web Services Region where the prefix list is located. This is required when referencing a prefix list in a different Region.
-
desired_version(Optional[BoxedLong], default:None) –The specific version of the prefix list to target. If not specified, the resolver will target the latest version.
-
track_latest_version(Optional[Boolean], default:None) –Indicates whether the resolver target should automatically track the latest version of the prefix list. When enabled, the target will always synchronize with the most current version of the prefix list.
Choose this for automatic updates when you want your prefix lists to stay current with infrastructure changes without manual intervention.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the IPAM prefix list resolver target during creation. Tags help you organize and manage your Amazon Web Services resources.
-
client_token(Optional[String], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 | |