VpcIpv6CidrBlockAssociation

class VpcIpv6CidrBlockAssociation : KotlinCustomResource

Provides a resource to associate additional IPv6 CIDR blocks with a VPC. The aws.ec2.VpcIpv6CidrBlockAssociation resource allows IPv6 CIDR blocks to be added to the VPC.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Vpc;
import com.pulumi.aws.ec2.VpcArgs;
import com.pulumi.aws.ec2.VpcIpv6CidrBlockAssociation;
import com.pulumi.aws.ec2.VpcIpv6CidrBlockAssociationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testVpc = new Vpc("testVpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var testVpcIpv6CidrBlockAssociation = new VpcIpv6CidrBlockAssociation("testVpcIpv6CidrBlockAssociation", VpcIpv6CidrBlockAssociationArgs.builder()
.ipv6IpamPoolId(aws_vpc_ipam_pool.test().id())
.vpcId(testVpc.id())
.build());
}
}

Import

aws_vpc_ipv6_cidr_block_association can be imported by using the VPC CIDR Association ID, e.g.,

$ pulumi import aws:ec2/vpcIpv6CidrBlockAssociation:VpcIpv6CidrBlockAssociation example vpc-cidr-assoc-xxxxxxxx

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ipv6CidrBlock: Output<String>

The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using ipv6_netmask_length. This parameter is required if ipv6_netmask_length is not set and he IPAM pool does not have allocation_default_netmask set.

Link copied to clipboard
val ipv6IpamPoolId: Output<String>

The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts.

Link copied to clipboard
val ipv6NetmaskLength: Output<Int>?

The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a ipv6_ipam_pool_id. This parameter is optional if the IPAM pool has allocation_default_netmask set, otherwise it or cidr_block are required

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The ID of the VPC to make the association with.