create_ipam_prefix_list_resolver_target
¶
create_ipam_prefix_list_resolver_target(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 | |