CreateSecondarySubnetRequest
¶
Source code in docs_src/capo_ec2/types/create_secondary_subnet_request.py
availability_zone
instance-attribute
¶
availability_zone: NotRequired[AvailabilityZoneName]
The Availability Zone for the secondary subnet. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.
availability_zone_id
instance-attribute
¶
availability_zone_id: NotRequired[AvailabilityZoneId]
The ID of the Availability Zone for the secondary subnet. This option is preferred over AvailabilityZone as it provides a consistent identifier across Amazon Web Services accounts. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.
client_token
instance-attribute
¶
client_token: NotRequired[String]
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
Checks 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.
ipv4_cidr_block
instance-attribute
¶
ipv4_cidr_block: NotRequired[String]
The IPv4 CIDR block for the secondary subnet. The CIDR block size must be between /12 and /28.
secondary_network_id
instance-attribute
¶
secondary_network_id: NotRequired[SecondaryNetworkId]
The ID of the secondary network in which to create the secondary subnet.
tag_specifications
instance-attribute
¶
tag_specifications: NotRequired[TagSpecificationList]
The tags to assign to the secondary subnet.