aws-cdk-lib.aws_ec2.CfnLaunchTemplate.Ipv4PrefixSpecificationProperty

interface Ipv4PrefixSpecificationProperty

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

Specifies an IPv4 prefix for a network interface.

Ipv4PrefixSpecification 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const ipv4PrefixSpecificationProperty: ec2.CfnLaunchTemplate.Ipv4PrefixSpecificationProperty = {
  ipv4Prefix: 'ipv4Prefix',
};

Properties

NameTypeDescription
ipv4Prefix?stringThe IPv4 prefix.

ipv4Prefix?

Type: string (optional)

The IPv4 prefix.

For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide .