Interface ICfnVPCCidrBlockProps
Properties for defining a CfnVPCCidrBlock
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnVPCCidrBlockProps
Syntax (vb)
Public Interface 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
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 |
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. |
Properties
AmazonProvidedIpv6CidrBlock
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
virtual object AmazonProvidedIpv6CidrBlock { get; }
Property Value
System.Object
Remarks
You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
CidrBlock
An IPv4 CIDR block to associate with the VPC.
virtual string CidrBlock { get; }
Property Value
System.String
Remarks
Ipv4IpamPoolId
Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.
virtual string Ipv4IpamPoolId { get; }
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 .
Ipv4NetmaskLength
The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
virtual Nullable<double> Ipv4NetmaskLength { get; }
Property Value
System.Nullable<System.Double>
Remarks
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
Ipv6CidrBlock
An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool
in the request.
virtual string Ipv6CidrBlock { get; }
Property Value
System.String
Remarks
To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
Ipv6IpamPoolId
Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.
virtual string Ipv6IpamPoolId { get; }
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 .
Ipv6NetmaskLength
The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
virtual Nullable<double> Ipv6NetmaskLength { get; }
Property Value
System.Nullable<System.Double>
Remarks
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
Ipv6Pool
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
virtual string Ipv6Pool { get; }
Property Value
System.String
Remarks
VpcId
The ID of the VPC.
string VpcId { get; }
Property Value
System.String