GetSubnetArgs constructor

const GetSubnetArgs({
  1. Input<String?>? availabilityZone,
  2. Input<String?>? availabilityZoneId,
  3. Input<String?>? cidrBlock,
  4. Input<bool?>? defaultForAz,
  5. Input<List<GetSubnetFilter>?>? filters,
  6. Input<String?>? id,
  7. Input<String?>? ipv6CidrBlock,
  8. Input<String?>? region,
  9. Input<String?>? state,
  10. Input<Map<String, String>?>? tags,
  11. Input<String?>? vpcId,
})

Creates a new GetSubnetArgs. availabilityZone Availability zone where the subnet must reside. availabilityZoneId ID of the Availability Zone for the subnet. This argument is not supported in all regions or partitions. If necessary, use availabilityZone instead. cidrBlock CIDR block of the desired subnet. defaultForAz Whether the desired subnet must be the default subnet for its associated availability zone. filters Configuration block. Detailed below. id ID of the specific subnet to retrieve. ipv6CidrBlock IPv6 CIDR block of the desired subnet. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. state State that the desired subnet must have. tags Map of tags, each pair of which must exactly match a pair on the desired subnet. vpcId ID of the VPC that the desired subnet belongs to.

Implementation

const GetSubnetArgs({
  this.availabilityZone,
  this.availabilityZoneId,
  this.cidrBlock,
  this.defaultForAz,
  this.filters,
  this.id,
  this.ipv6CidrBlock,
  this.region,
  this.state,
  this.tags,
  this.vpcId,
});