Show / Hide Table of Contents

Class CfnSubnetCidrBlock

Associates a CIDR block with your subnet.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnSubnetCidrBlock
Implements
IInspectable
ISubnetCidrBlockRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSubnetCidrBlock : CfnResource, IInspectable, ISubnetCidrBlockRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnSubnetCidrBlock Inherits CfnResource Implements IInspectable, ISubnetCidrBlockRef, IConstruct, IDependable, IEnvironmentAware
Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

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 cfnSubnetCidrBlock = new CfnSubnetCidrBlock(this, "MyCfnSubnetCidrBlock", new CfnSubnetCidrBlockProps {
                 SubnetId = "subnetId",

                 // the properties below are optional
                 Ipv6CidrBlock = "ipv6CidrBlock",
                 Ipv6IpamPoolId = "ipv6IpamPoolId",
                 Ipv6NetmaskLength = 123
             });

Synopsis

Constructors

CfnSubnetCidrBlock(Construct, string, ICfnSubnetCidrBlockProps)

Create a new AWS::EC2::SubnetCidrBlock.

Properties

AttrId

The ID of the association.

AttrIpSource

The source that allocated the IP address space.

AttrIpv6AddressAttribute

Public IPv6 addresses are those advertised on the internet from AWS .

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Associates a CIDR block with your subnet.

Ipv6CidrBlock

The IPv6 network range for the subnet, in CIDR notation.

Ipv6IpamPoolId

An IPv6 IPAM pool ID for the subnet.

Ipv6NetmaskLength

An IPv6 netmask length for the subnet.

SubnetCidrBlockRef

A reference to a SubnetCidrBlock resource.

SubnetId

The ID of the subnet.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnSubnetCidrBlock(object)

Checks whether the given object is a CfnSubnetCidrBlock.

RenderProperties(IDictionary<string, object>)

Associates a CIDR block with your subnet.

Constructors

CfnSubnetCidrBlock(Construct, string, ICfnSubnetCidrBlockProps)

Create a new AWS::EC2::SubnetCidrBlock.

public CfnSubnetCidrBlock(Construct scope, string id, ICfnSubnetCidrBlockProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnSubnetCidrBlockProps

Resource properties.

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

Properties

AttrId

The ID of the association.

public virtual string AttrId { get; }
Property Value

string

Remarks

CloudformationAttribute: Id

AttrIpSource

The source that allocated the IP address space.

public virtual string AttrIpSource { get; }
Property Value

string

Remarks

byoip or amazon indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP). none indicates private space.

CloudformationAttribute: IpSource

AttrIpv6AddressAttribute

Public IPv6 addresses are those advertised on the internet from AWS .

public virtual string AttrIpv6AddressAttribute { get; }
Property Value

string

Remarks

Private IP addresses are not and cannot be advertised on the internet from AWS .

CloudformationAttribute: Ipv6AddressAttribute

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

CfnProperties

Associates a CIDR block with your subnet.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

Ipv6CidrBlock

The IPv6 network range for the subnet, in CIDR notation.

public virtual string? Ipv6CidrBlock { get; set; }
Property Value

string

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

Ipv6IpamPoolId

An IPv6 IPAM pool ID for the subnet.

public virtual string? Ipv6IpamPoolId { get; set; }
Property Value

string

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

Ipv6NetmaskLength

An IPv6 netmask length for the subnet.

public virtual double? Ipv6NetmaskLength { get; set; }
Property Value

double?

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

SubnetCidrBlockRef

A reference to a SubnetCidrBlock resource.

public virtual ISubnetCidrBlockReference SubnetCidrBlockRef { get; }
Property Value

ISubnetCidrBlockReference

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

SubnetId

The ID of the subnet.

public virtual string SubnetId { get; set; }
Property Value

string

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

IsCfnSubnetCidrBlock(object)

Checks whether the given object is a CfnSubnetCidrBlock.

public static bool IsCfnSubnetCidrBlock(object x)
Parameters
x object
Returns

bool

Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Associates a CIDR block with your subnet.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

You can associate a single IPv6 CIDR block with your subnet.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

CloudformationResource: AWS::EC2::SubnetCidrBlock

ExampleMetadata: fixture=_generated

Implements

IInspectable
ISubnetCidrBlockRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX