Class GetSubnetPlainArgs


  • public final class GetSubnetPlainArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • availabilityZone

        public java.util.Optional<java.lang.String> availabilityZone()
        Returns:
        Availability zone where the subnet must reside.
      • availabilityZoneId

        public java.util.Optional<java.lang.String> availabilityZoneId()
        Returns:
        ID of the Availability Zone for the subnet. This argument is not supported in all regions or partitions. If necessary, use `availability_zone` instead.
      • cidrBlock

        public java.util.Optional<java.lang.String> cidrBlock()
        Returns:
        CIDR block of the desired subnet.
      • defaultForAz

        public java.util.Optional<java.lang.Boolean> defaultForAz()
        Returns:
        Whether the desired subnet must be the default subnet for its associated availability zone.
      • filters

        public java.util.Optional<java.util.List<GetSubnetFilter>> filters()
        Returns:
        Configuration block. Detailed below.
      • id

        public java.util.Optional<java.lang.String> id()
        Returns:
        ID of the specific subnet to retrieve.
      • ipv6CidrBlock

        public java.util.Optional<java.lang.String> ipv6CidrBlock()
        Returns:
        IPv6 CIDR block of the desired subnet.
      • state

        public java.util.Optional<java.lang.String> state()
        Returns:
        State that the desired subnet must have.
      • tags

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>> tags()
        Returns:
        Map of tags, each pair of which must exactly match a pair on the desired subnet.
      • vpcId

        public java.util.Optional<java.lang.String> vpcId()
        Returns:
        ID of the VPC that the desired subnet belongs to.