Skip to content
v2.278.0

CreateIpv6CidrBlocksRequest Struct ​

Request for IPv6 CIDR block to be split up.

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 createIpv6CidrBlocksRequest: ec2.CreateIpv6CidrBlocksRequest = {
  ipv6SelectedCidr: 'ipv6SelectedCidr',
  subnetCount: 123,

  // the properties below are optional
  sizeMask: 'sizeMask',
};
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

create_ipv6_cidr_blocks_request = ec2.CreateIpv6CidrBlocksRequest(
    ipv6_selected_cidr="ipv6SelectedCidr",
    subnet_count=123,

    # the properties below are optional
    size_mask="sizeMask"
)
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.*;

CreateIpv6CidrBlocksRequest createIpv6CidrBlocksRequest = CreateIpv6CidrBlocksRequest.builder()
        .ipv6SelectedCidr("ipv6SelectedCidr")
        .subnetCount(123)

        // the properties below are optional
        .sizeMask("sizeMask")
        .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 createIpv6CidrBlocksRequest = new CreateIpv6CidrBlocksRequest {
    Ipv6SelectedCidr = "ipv6SelectedCidr",
    SubnetCount = 123,

    // the properties below are optional
    SizeMask = "sizeMask"
};
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"

createIpv6CidrBlocksRequest := &CreateIpv6CidrBlocksRequest{
	Ipv6SelectedCidr: jsii.String("ipv6SelectedCidr"),
	SubnetCount: jsii.Number(123),

	// the properties below are optional
	SizeMask: jsii.String("sizeMask"),
}

Properties ​

ipv6SelectedCidrstringipv6_selected_cidrstripv6SelectedCidrStringIpv6SelectedCidrstringIpv6SelectedCidr*string required #
The IPv6 CIDR block string representation.
sizeMaskoptionalstringsize_maskoptionalstrsizeMaskoptionalStringSizeMaskoptionalstringSizeMaskoptional*string #
Size of the covered bits in the CIDR.

Default: 128 - 64 = /64 CIDR.

subnetCountnumbersubnet_countint | floatsubnetCountNumberSubnetCountdoubleSubnetCount*float64 required #
The number of subnets to assign CIDRs to.