ipam_pool_cidr
Gets or updates an individual ipam_pool_cidr
resource, use ipam_pool_cidrs
to retrieve a list of resources or to create or delete a resource.
Overview
Name | ipam_pool_cidr |
Type | Resource |
Description | Resource Schema of AWS::EC2::IPAMPoolCidr Type |
Id | aws.ec2.ipam_pool_cidr |
Fields
Name | Datatype | Description |
---|---|---|
ipam_pool_cidr_id | string | Id of the IPAM Pool Cidr. |
ipam_pool_id | string | Id of the IPAM Pool. |
cidr | string | Represents a single IPv4 or IPv6 CIDR |
netmask_length | integer | The desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it. |
state | string | Provisioned state of the cidr. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
get_resource | SELECT | data__Identifier, region |
SELECT
Example
SELECT
region,
ipam_pool_cidr_id,
ipam_pool_id,
cidr,
netmask_length,
state
FROM aws.ec2.ipam_pool_cidr
WHERE region = 'us-east-1' AND data__Identifier = '<IpamPoolId>|<IpamPoolCidrId>';
Permissions
To operate on the ipam_pool_cidr
resource, the following permissions are required:
Read
ec2:GetIpamPoolCidrs