Show / Hide Table of Contents

Class CfnVPCCidrBlockProps

Properties for defining a CfnVPCCidrBlock.

Inheritance
System.Object
CfnVPCCidrBlockProps
Implements
ICfnVPCCidrBlockProps
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnVPCCidrBlockProps : Object, ICfnVPCCidrBlockProps
Syntax (vb)
Public Class CfnVPCCidrBlockProps
    Inherits Object
    Implements ICfnVPCCidrBlockProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html

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 cfnVPCCidrBlockProps = new CfnVPCCidrBlockProps {
    VpcId = "vpcId",

    // the properties below are optional
    AmazonProvidedIpv6CidrBlock = false,
    CidrBlock = "cidrBlock",
    Ipv4IpamPoolId = "ipv4IpamPoolId",
    Ipv4NetmaskLength = 123,
    Ipv6CidrBlock = "ipv6CidrBlock",
    Ipv6IpamPoolId = "ipv6IpamPoolId",
    Ipv6NetmaskLength = 123,
    Ipv6Pool = "ipv6Pool"
};

Synopsis

Constructors

CfnVPCCidrBlockProps()

Properties

AmazonProvidedIpv6CidrBlock

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.

CidrBlock

An IPv4 CIDR block to associate with the VPC.

Ipv4IpamPoolId

Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.

Ipv4NetmaskLength

The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.

Ipv6CidrBlock

An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool in the request.

Ipv6IpamPoolId

Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.

Ipv6NetmaskLength

The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.

Ipv6Pool

The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.

VpcId

The ID of the VPC.

Constructors

CfnVPCCidrBlockProps()

public CfnVPCCidrBlockProps()

Properties

AmazonProvidedIpv6CidrBlock

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.

public object AmazonProvidedIpv6CidrBlock { get; set; }
Property Value

System.Object

Remarks

You cannot specify the range of IPv6 addresses, or the size of the CIDR block.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-amazonprovidedipv6cidrblock

CidrBlock

An IPv4 CIDR block to associate with the VPC.

public string CidrBlock { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-cidrblock

Ipv4IpamPoolId

Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.

public string Ipv4IpamPoolId { get; set; }
Property Value

System.String

Remarks

For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv4ipampoolid

Ipv4NetmaskLength

The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.

public Nullable<double> Ipv4NetmaskLength { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv4netmasklength

Ipv6CidrBlock

An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool in the request.

public string Ipv6CidrBlock { get; set; }
Property Value

System.String

Remarks

To let Amazon choose the IPv6 CIDR block for you, omit this parameter.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6cidrblock

Ipv6IpamPoolId

Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.

public string Ipv6IpamPoolId { get; set; }
Property Value

System.String

Remarks

For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6ipampoolid

Ipv6NetmaskLength

The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.

public Nullable<double> Ipv6NetmaskLength { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6netmasklength

Ipv6Pool

The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.

public string Ipv6Pool { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6pool

VpcId

The ID of the VPC.

public string VpcId { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-vpcid

Implements

ICfnVPCCidrBlockProps
Back to top Generated by DocFX