subnet_cidr_block
Gets an individual subnet_cidr_block
resource
Overview
Name | subnet_cidr_block |
Type | Resource |
Description | subnet_cidr_block |
Id | awscc.ec2.subnet_cidr_block |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Information about the IPv6 association. |
ipv6_cidr_block | string | The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length |
ipv6_ipam_pool_id | string | The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR |
ipv6_netmask_length | integer | The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool |
subnet_id | string | The ID of the subnet |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
id,
ipv6_cidr_block,
ipv6_ipam_pool_id,
ipv6_netmask_length,
subnet_id
FROM awscc.ec2.subnet_cidr_block
WHERE data__Identifier = '<Id>';
Permissions
To operate on the subnet_cidr_block
resource, the following permissions are required:
Delete
ec2:DisassociateSubnetCidrBlock,
ec2:DescribeSubnets
Read
ec2:DescribeSubnets