Show / Hide Table of Contents

Class CfnIPAMAllocationProps

Properties for defining a CfnIPAMAllocation.

Inheritance
object
CfnIPAMAllocationProps
Implements
ICfnIPAMAllocationProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPAMAllocationProps : ICfnIPAMAllocationProps
Syntax (vb)
Public Class CfnIPAMAllocationProps Implements ICfnIPAMAllocationProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamallocation.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 cfnIPAMAllocationProps = new CfnIPAMAllocationProps {
                 IpamPoolId = "ipamPoolId",

                 // the properties below are optional
                 Cidr = "cidr",
                 Description = "description",
                 NetmaskLength = 123
             };

Synopsis

Constructors

CfnIPAMAllocationProps()

Properties for defining a CfnIPAMAllocation.

Properties

Cidr

The CIDR you would like to allocate from the IPAM pool. Note the following:.

Description

A description for the allocation.

IpamPoolId

The ID of the IPAM pool from which you would like to allocate a CIDR.

NetmaskLength

The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:.

Constructors

CfnIPAMAllocationProps()

Properties for defining a CfnIPAMAllocation.

public CfnIPAMAllocationProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamallocation.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 cfnIPAMAllocationProps = new CfnIPAMAllocationProps {
                 IpamPoolId = "ipamPoolId",

                 // the properties below are optional
                 Cidr = "cidr",
                 Description = "description",
                 NetmaskLength = 123
             };

Properties

Cidr

The CIDR you would like to allocate from the IPAM pool. Note the following:.

public string? Cidr { get; set; }
Property Value

string

Remarks

    Possible values: Any available IPv4 or IPv6 CIDR.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamallocation.html#cfn-ec2-ipamallocation-cidr

    Description

    A description for the allocation.

    public string? Description { get; set; }
    Property Value

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamallocation.html#cfn-ec2-ipamallocation-description

    IpamPoolId

    The ID of the IPAM pool from which you would like to allocate a CIDR.

    public string IpamPoolId { get; set; }
    Property Value

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamallocation.html#cfn-ec2-ipamallocation-ipampoolid

    NetmaskLength

    The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:.

    public double? NetmaskLength { get; set; }
    Property Value

    double?

    Remarks

      Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamallocation.html#cfn-ec2-ipamallocation-netmasklength

      Implements

      ICfnIPAMAllocationProps
      Back to top Generated by DocFX