Class CfnIPAMPoolCidr
A CIDR provisioned to an IPAM pool.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPAMPoolCidr : CfnResource, IInspectable
Syntax (vb)
Public Class CfnIPAMPoolCidr
Inherits CfnResource
Implements IInspectable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.html
CloudformationResource: AWS::EC2::IPAMPoolCidr
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 cfnIPAMPoolCidr = new CfnIPAMPoolCidr(this, "MyCfnIPAMPoolCidr", new CfnIPAMPoolCidrProps {
IpamPoolId = "ipamPoolId",
// the properties below are optional
Cidr = "cidr",
NetmaskLength = 123
});
Synopsis
Constructors
CfnIPAMPoolCidr(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnIPAMPoolCidr(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnIPAMPoolCidr(Construct, String, ICfnIPAMPoolCidrProps) |
Properties
AttrIpamPoolCidrId | The IPAM pool CIDR ID. |
AttrState | The state of the CIDR. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Cidr | The CIDR provisioned to the IPAM pool. |
IpamPoolId | The ID of the IPAM pool. |
NetmaskLength | The netmask length of the CIDR you'd like to provision to a pool. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnIPAMPoolCidr(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnIPAMPoolCidr(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnIPAMPoolCidr(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnIPAMPoolCidr(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnIPAMPoolCidr(Construct, String, ICfnIPAMPoolCidrProps)
public CfnIPAMPoolCidr(Construct scope, string id, ICfnIPAMPoolCidrProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnIPAMPoolCidrProps
Resource properties.
Properties
AttrIpamPoolCidrId
The IPAM pool CIDR ID.
public virtual string AttrIpamPoolCidrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: IpamPoolCidrId
AttrState
The state of the CIDR.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: State
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Cidr
The CIDR provisioned to the IPAM pool.
public virtual string Cidr { get; set; }
Property Value
System.String
IpamPoolId
The ID of the IPAM pool.
public virtual string IpamPoolId { get; set; }
Property Value
System.String
NetmaskLength
The netmask length of the CIDR you'd like to provision to a pool.
public virtual Nullable<double> NetmaskLength { get; set; }
Property Value
System.Nullable<System.Double>
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>