AllocatedSubnet
- class aws_cdk.aws_ec2.AllocatedSubnet(*, cidr)
Bases:
object
Cidr Allocated Subnet.
- Parameters
cidr (
str
) – Cidr Allocations for a Subnet.- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 allocated_subnet = ec2.AllocatedSubnet( cidr="cidr" )
Attributes
- cidr
Cidr Allocations for a Subnet.