interface PrivateIpAddressSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnInstancePropsMixin.PrivateIpAddressSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnInstancePropsMixin_PrivateIpAddressSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnInstancePropsMixin.PrivateIpAddressSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnInstancePropsMixin.PrivateIpAddressSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnInstancePropsMixin » PrivateIpAddressSpecificationProperty |
Specifies a secondary private IPv4 address for a network interface.
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 privateIpAddressSpecificationProperty: ec2_mixins.CfnInstancePropsMixin.PrivateIpAddressSpecificationProperty = {
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