Class CfnLaunchTemplate.Ipv4PrefixSpecificationProperty
Specifies an IPv4 prefix for a network interface.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLaunchTemplate.Ipv4PrefixSpecificationProperty : CfnLaunchTemplate.IIpv4PrefixSpecificationProperty
Syntax (vb)
Public Class CfnLaunchTemplate.Ipv4PrefixSpecificationProperty Implements CfnLaunchTemplate.IIpv4PrefixSpecificationProperty
Remarks
Ipv4PrefixSpecification is a property of AWS::EC2::LaunchTemplate NetworkInterface .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var ipv4PrefixSpecificationProperty = new Ipv4PrefixSpecificationProperty {
Ipv4Prefix = "ipv4Prefix"
};
Synopsis
Constructors
| Ipv4PrefixSpecificationProperty() | Specifies an IPv4 prefix for a network interface. |
Properties
| Ipv4Prefix | The IPv4 prefix. |
Constructors
Ipv4PrefixSpecificationProperty()
Specifies an IPv4 prefix for a network interface.
public Ipv4PrefixSpecificationProperty()
Remarks
Ipv4PrefixSpecification is a property of AWS::EC2::LaunchTemplate NetworkInterface .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var ipv4PrefixSpecificationProperty = new Ipv4PrefixSpecificationProperty {
Ipv4Prefix = "ipv4Prefix"
};
Properties
Ipv4Prefix
The IPv4 prefix.
public string? Ipv4Prefix { get; set; }
Property Value
Remarks
For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide .