AllocateVpcIpv6CidrRequest Struct
Request for allocation of the VPC IPv6 CIDR.
| Source | aws-ec2/lib/ip-addresses.ts |
|---|---|
| Type last changed |
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';
import * as constructs from 'constructs';
declare const construct: constructs.Construct;
const allocateVpcIpv6CidrRequest: ec2.AllocateVpcIpv6CidrRequest = {
scope: construct,
vpcId: 'vpcId',
};
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
import constructs as constructs
# construct: constructs.Construct
allocate_vpc_ipv6_cidr_request = ec2.AllocateVpcIpv6CidrRequest(
scope=construct,
vpc_id="vpcId"
)
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.*;
import software.constructs.*;
Construct construct;
AllocateVpcIpv6CidrRequest allocateVpcIpv6CidrRequest = AllocateVpcIpv6CidrRequest.builder()
.scope(construct)
.vpcId("vpcId")
.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;
using Constructs;
Construct construct;
var allocateVpcIpv6CidrRequest = new AllocateVpcIpv6CidrRequest {
Scope = construct,
VpcId = "vpcId"
};
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"
import constructs "github.com/aws/constructs-go/constructs"
var construct Construct
allocateVpcIpv6CidrRequest := &AllocateVpcIpv6CidrRequest{
Scope: construct,
VpcId: jsii.String("vpcId"),
}