Skip to content

EC2  >  Dictionaries  >  SubnetConfigurationDict

SubnetConfigurationDict

Dictionary Type

SubnetConfigurationDict

Bases: TypedDict

Dictionary form of SubnetConfiguration.

Attributes

ipv4 instance-attribute
ipv4: str | None

The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4.

If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.

ipv6 instance-attribute
ipv6: str | None

The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6.

If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.

subnet_id instance-attribute
subnet_id: str | None

The ID of the subnet.