interface Ipv4PrefixSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnLaunchTemplatePropsMixin_Ipv4PrefixSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const ipv4PrefixSpecificationProperty: ec2_mixins.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