Skip to content

EC2  >  Structures  >  PrivateIpAddressSpecification

PrivateIpAddressSpecification

Structure Class

PrivateIpAddressSpecification dataclass

Bases: _SerdeShape

Describes a secondary private IPv4 address for a network interface.

Attributes

primary class-attribute instance-attribute
primary: bool | None = ...

Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.

private_ip_address class-attribute instance-attribute
private_ip_address: str | None = ...

The private IPv4 address.