AWS::EC2::NetworkInterface PrivateIpAddressSpecification - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EC2::NetworkInterface PrivateIpAddressSpecification

Describes a secondary private IPv4 address for a network interface.

Syntax

To declare this entity in your 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: Some interruptions

PrivateIpAddress

The private IP address of the network interface.

Required: Yes

Type: String

Update requires: Some interruptions