aws-cdk-lib.aws_ec2.CfnSpotFleet.PrivateIpAddressSpecificationProperty

interface PrivateIpAddressSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnSpotFleet.PrivateIpAddressSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSpotFleet_PrivateIpAddressSpecificationProperty
Javasoftware.amazon.awscdk.services.ec2.CfnSpotFleet.PrivateIpAddressSpecificationProperty
Pythonaws_cdk.aws_ec2.CfnSpotFleet.PrivateIpAddressSpecificationProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnSpotFleet » PrivateIpAddressSpecificationProperty

Describes 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const privateIpAddressSpecificationProperty: ec2.CfnSpotFleet.PrivateIpAddressSpecificationProperty = {
  privateIpAddress: 'privateIpAddress',

  // the properties below are optional
  primary: false,
};

Properties

NameTypeDescription
privateIpAddressstringThe private IPv4 address.
primary?boolean | IResolvableIndicates whether the private IPv4 address is the primary private IPv4 address.

privateIpAddress

Type: 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.