AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::EC2::NetworkInterface PrivateIpAddressSpecification

Describes a secondary private IPv4 address for a network interface.

Syntax

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

JSON

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

YAML

Primary: Boolean PrivateIpAddress: String

Properties

Primary

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: No interruption

PrivateIpAddress

The private IP address of the network interface.

Required: Yes

Type: String

Update requires: No interruption

On this page: