interface Ipv4PrefixSpecificationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnLaunchTemplate.Ipv4PrefixSpecificationProperty |
Java | software.amazon.awscdk.services.ec2.CfnLaunchTemplate.Ipv4PrefixSpecificationProperty |
Python | aws_cdk.aws_ec2.CfnLaunchTemplate.Ipv4PrefixSpecificationProperty |
TypeScript | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
const ipv4PrefixSpecificationProperty: ec2.CfnLaunchTemplate.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 Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide .