Subnet

EC2.ServiceResource.Subnet(id)

Creates a Subnet resource.:

subnet = ec2.Subnet('id')
Parameters
id (string) -- The Subnet's id identifier. This must be set.
Return type
EC2.Subnet
Returns
A Subnet resource