This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). # AWS::EC2::IPAMPoolCidr A CIDR provisioned to an IPAM pool. ## Syntax To declare this entity in your CloudFormation template, use the following syntax: ### JSON ``` { "Type" : "AWS::EC2::IPAMPoolCidr", "Properties" : { "[Cidr](#cfn-ec2-ipampoolcidr-cidr)" : {{String}}, "[IpamPoolId](#cfn-ec2-ipampoolcidr-ipampoolid)" : {{String}}, "[NetmaskLength](#cfn-ec2-ipampoolcidr-netmasklength)" : {{Integer}} } } ``` ### YAML ``` Type: AWS::EC2::IPAMPoolCidr Properties: [Cidr](#cfn-ec2-ipampoolcidr-cidr): {{String}} [IpamPoolId](#cfn-ec2-ipampoolcidr-ipampoolid): {{String}} [NetmaskLength](#cfn-ec2-ipampoolcidr-netmasklength): {{Integer}} ``` ## Properties `Cidr` The CIDR provisioned to the IPAM pool. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is `10.24.34.0/23`. An IPv6 CIDR example is `2001:DB8::/32`. *Required*: No *Type*: String *Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) `IpamPoolId` The ID of the IPAM pool. *Required*: Yes *Type*: String *Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) `NetmaskLength` The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required. *Required*: No *Type*: Integer *Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) ## Return values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the IPAM pool ID and IPAM pool CIDR ID in the following format: `ipam-pool-01123456|ipam-pool-cidr-0123456`. ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html). #### `IpamPoolCidrId` The IPAM pool CIDR ID. `State` The state of the CIDR.

AltStyle によって変換されたページ (->オリジナル) /