GetSubnetPlainArgs

data class GetSubnetPlainArgs(val availabilityZone: String? = null, val availabilityZoneId: String? = null, val cidrBlock: String? = null, val defaultForAz: Boolean? = null, val filters: List<GetSubnetFilter>? = null, val id: String? = null, val ipv6CidrBlock: String? = null, val state: String? = null, val tags: Map<String, String>? = null, val vpcId: String? = null) : ConvertibleToJava<GetSubnetPlainArgs>

A collection of arguments for invoking getSubnet.

Constructors

Link copied to clipboard
constructor(availabilityZone: String? = null, availabilityZoneId: String? = null, cidrBlock: String? = null, defaultForAz: Boolean? = null, filters: List<GetSubnetFilter>? = null, id: String? = null, ipv6CidrBlock: String? = null, state: String? = null, tags: Map<String, String>? = null, vpcId: String? = null)

Properties

Link copied to clipboard

Availability zone where the subnet must reside.

Link copied to clipboard

ID of the Availability Zone for the subnet. This argument is not supported in all regions or partitions. If necessary, use availability_zone instead.

Link copied to clipboard
val cidrBlock: String? = null

CIDR block of the desired subnet.

Link copied to clipboard
val defaultForAz: Boolean? = null

Whether the desired subnet must be the default subnet for its associated availability zone.

Link copied to clipboard

Configuration block. Detailed below.

Link copied to clipboard
val id: String? = null

ID of the specific subnet to retrieve.

Link copied to clipboard
val ipv6CidrBlock: String? = null

IPv6 CIDR block of the desired subnet.

Link copied to clipboard
val state: String? = null

State that the desired subnet must have.

Link copied to clipboard
val tags: Map<String, String>? = null

Map of tags, each pair of which must exactly match a pair on the desired subnet.

Link copied to clipboard
val vpcId: String? = null

ID of the VPC that the desired subnet belongs to.

Functions

Link copied to clipboard
open override fun toJava(): GetSubnetPlainArgs