Class SubnetState


  • public final class SubnetState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SubnetState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static SubnetState Empty  
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The ARN of the subnet.
      • assignIpv6AddressOnCreation

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> assignIpv6AddressOnCreation()
        Returns:
        Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. Default is `false`
      • availabilityZone

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> availabilityZone()
        Returns:
        AZ for the subnet.
      • availabilityZoneId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> availabilityZoneId()
        Returns:
        AZ ID of the subnet. This argument is not supported in all regions or partitions. If necessary, use `availabilityZone` instead.
      • cidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrBlock()
        Returns:
        The IPv4 CIDR block for the subnet.
      • customerOwnedIpv4Pool

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> customerOwnedIpv4Pool()
        Returns:
        The customer owned IPv4 address pool. Typically used with the `mapCustomerOwnedIpOnLaunch` argument. The `outpostArn` argument must be specified when configured.
      • enableDns64

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableDns64()
        Returns:
        Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: `false`.
      • enableLniAtDeviceIndex

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> enableLniAtDeviceIndex()
        Returns:
        Indicates the device position for local network interfaces in this subnet. For example, 1 indicates local network interfaces in this subnet are the secondary network interface (eth1). A local network interface cannot be the primary network interface (eth0).
      • enableResourceNameDnsARecordOnLaunch

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableResourceNameDnsARecordOnLaunch()
        Returns:
        Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: `false`.
      • enableResourceNameDnsAaaaRecordOnLaunch

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableResourceNameDnsAaaaRecordOnLaunch()
        Returns:
        Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: `false`.
      • ipv4IpamPoolId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv4IpamPoolId()
        Returns:
        ID of an IPv4 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.
      • ipv4NetmaskLength

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv4NetmaskLength()
        Returns:
        Netmask. Requires specifying a `ipv4IpamPoolId`.
      • ipv6CidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlock()
        Returns:
        The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length. If the existing IPv6 subnet was created with `assignIpv6AddressOnCreation = true`, changing this value will force resource recreation.
      • ipv6CidrBlockAssociationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlockAssociationId()
        Returns:
        The association ID for the IPv6 CIDR block.
      • ipv6IpamPoolId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6IpamPoolId()
        Returns:
        ID of an IPv6 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.
      • ipv6Native

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> ipv6Native()
        Returns:
        Indicates whether to create an IPv6-only subnet. Default: `false`.
      • ipv6NetmaskLength

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv6NetmaskLength()
        Returns:
        Netmask. Requires specifying a `ipv6IpamPoolId`. Valid values are from 44 to 64 in increments of 4.
      • mapCustomerOwnedIpOnLaunch

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> mapCustomerOwnedIpOnLaunch()
        Returns:
        Specify `true` to indicate that network interfaces created in the subnet should be assigned a customer owned IP address. The `customerOwnedIpv4Pool` and `outpostArn` arguments must be specified when set to `true`. Default is `false`.
      • mapPublicIpOnLaunch

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> mapPublicIpOnLaunch()
        Returns:
        Specify true to indicate that instances launched into the subnet should be assigned a public IP address. Default is `false`.
      • outpostArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> outpostArn()
        Returns:
        ARN of the Outpost.
      • ownerId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()
        Returns:
        The ID of the AWS account that owns the subnet.
      • privateDnsHostnameTypeOnLaunch

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> privateDnsHostnameTypeOnLaunch()
        Returns:
        The type of hostnames to assign to instances in the subnet at launch. For IPv6-only subnets, an instance DNS name must be based on the instance ID. For dual-stack and IPv4-only subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name`, `resource-name`.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
      • vpcId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vpcId()
        Returns:
        The VPC ID.