interface PrivateIpAddProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnLaunchTemplatePropsMixin.PrivateIpAddProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnLaunchTemplatePropsMixin_PrivateIpAddProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.PrivateIpAddProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnLaunchTemplatePropsMixin.PrivateIpAddProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnLaunchTemplatePropsMixin » PrivateIpAddProperty |
Specifies a secondary private IPv4 address for a network interface.
PrivateIpAdd is a property of AWS::EC2::LaunchTemplate NetworkInterface .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const privateIpAddProperty: ec2_mixins.CfnLaunchTemplatePropsMixin.PrivateIpAddProperty = {
primary: false,
privateIpAddress: 'privateIpAddress',
};
Properties
| Name | Type | Description |
|---|---|---|
| primary? | boolean | IResolvable | Indicates whether the private IPv4 address is the primary private IPv4 address. |
| private | string | The private IPv4 address. |
primary?
Type:
boolean | IResolvable
(optional)
Indicates whether the private IPv4 address is the primary private IPv4 address.
Only one IPv4 address can be designated as primary.
privateIpAddress?
Type:
string
(optional)
The private IPv4 address.

.NET
Go
Java
Python
TypeScript