interface Ipv4PrefixSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnLaunchTemplatePropsMixin_Ipv4PrefixSpecificationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnLaunchTemplatePropsMixin » 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/cfn-property-mixins';
const ipv4PrefixSpecificationProperty: ec2.CfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty = {
ipv4Prefix: 'ipv4Prefix',
};
Properties
| Name | Type | Description |
|---|---|---|
| ipv4 | string | The IPv4 prefix. |
ipv4Prefix?
Type:
string
(optional)
The IPv4 prefix.
For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide .

.NET
Go
Java
Python
TypeScript