Skip to content
v2.278.0

Ipv6PrefixSpecificationProperty Struct ​

Describes the IPv6 prefix.

Example ​

ts
// 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 ipv6PrefixSpecificationProperty: ec2.CfnNetworkInterface.Ipv6PrefixSpecificationProperty = {
  ipv6Prefix: 'ipv6Prefix',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

ipv6_prefix_specification_property = ec2.CfnNetworkInterface.Ipv6PrefixSpecificationProperty(
    ipv6_prefix="ipv6Prefix"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

Ipv6PrefixSpecificationProperty ipv6PrefixSpecificationProperty = Ipv6PrefixSpecificationProperty.builder()
        .ipv6Prefix("ipv6Prefix")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 ipv6PrefixSpecificationProperty = new Ipv6PrefixSpecificationProperty {
    Ipv6Prefix = "ipv6Prefix"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

ipv6PrefixSpecificationProperty := &Ipv6PrefixSpecificationProperty{
	Ipv6Prefix: jsii.String("ipv6Prefix"),
}

Properties ​

ipv6Prefixstringipv6_prefixstripv6PrefixStringIpv6PrefixstringIpv6Prefix*string required #
The IPv6 prefix.

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