AWS::EC2::NetworkInterface PrivateIpAddressSpecification - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::EC2::NetworkInterface PrivateIpAddressSpecification

Describes a secondary private IPv4 address for a network interface.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Primary" : Boolean, "PrivateIpAddress" : String }


Primary: Boolean PrivateIpAddress: String



Sets the private IP address as the primary private address. You can set only one primary private IP address. If you don't specify a primary private IP address, Amazon EC2 automatically assigns a primary private IP address.

Required: Yes

Type: Boolean

Update requires: Some interruptions


The private IP address of the network interface.

Required: Yes

Type: String

Update requires: Some interruptions