Class NatGatewayState


  • public final class NatGatewayState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • allocationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> allocationId()
        Returns:
        The Allocation ID of the Elastic IP address for the NAT Gateway. Required when `connectivityType` is set to `public` and `availabilityMode` is set to `zonal`. When `availabilityMode` is set to `regional`, this must not be set; instead, use the `availabilityZoneAddress` block to specify EIPs for each AZ.
      • associationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> associationId()
        Returns:
        Association ID of the Elastic IP address.
      • autoProvisionZones

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> autoProvisionZones()
        Returns:
        (regional NAT gateways only) Indicates whether AWS automatically manages AZ coverage.
      • autoScalingIps

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> autoScalingIps()
        Returns:
        (regional NAT gateways only) Indicates whether AWS automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ.
      • availabilityMode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> availabilityMode()
        Returns:
        Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway. Valid values are `zonal` and `regional`. Defaults to `zonal`.
      • availabilityZoneAddresses

        public java.util.Optional<com.pulumi.core.Output<java.util.List<NatGatewayAvailabilityZoneAddressArgs>>> availabilityZoneAddresses()
        Returns:
        Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway. When not specified, the regional NAT gateway will automatically expand to new AZs and associate EIPs upon detection of an elastic network interface (auto mode). When specified, auto-expansion is disabled (manual mode). See `availabilityZoneAddress` below for details.
      • connectivityType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> connectivityType()
        Returns:
        Connectivity type for the NAT Gateway. Valid values are `private` and `public`. When `availabilityMode` is set to `regional`, this must be set to `public`. Defaults to `public`.
      • networkInterfaceId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkInterfaceId()
        Returns:
        ID of the network interface.
      • privateIp

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> privateIp()
        Returns:
        The private IPv4 address to assign to the NAT Gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
      • publicIp

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> publicIp()
        Returns:
        Public IP address.
      • 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.
      • regionalNatGatewayAddresses

        public java.util.Optional<com.pulumi.core.Output<java.util.List<NatGatewayRegionalNatGatewayAddressArgs>>> regionalNatGatewayAddresses()
        Returns:
        (regional NAT gateways only) Repeatable blocks for information about the IP addresses and network interface associated with the regional NAT gateway.
      • regionalNatGatewayAutoMode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> regionalNatGatewayAutoMode()
      • routeTableId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> routeTableId()
        Returns:
        (regional NAT gateways only) ID of the automatically created route table.
      • secondaryAllocationIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> secondaryAllocationIds()
        Returns:
        A list of secondary allocation EIP IDs for this NAT Gateway. To remove all secondary allocations an empty list should be specified.
      • secondaryPrivateIpAddressCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> secondaryPrivateIpAddressCount()
        Returns:
        The number of secondary private IPv4 addresses you want to assign to the NAT Gateway.
      • secondaryPrivateIpAddresses

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> secondaryPrivateIpAddresses()
        Returns:
        A list of secondary private IPv4 addresses to assign to the NAT Gateway. To remove all secondary private addresses an empty list should be specified.
      • subnetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()
        Returns:
        The Subnet ID of the subnet in which to place the NAT Gateway. Required when `availabilityMode` is set to `zonal`. Must not be set when `availabilityMode` is set to `regional`.
      • 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:
        VPC ID where this NAT Gateway will be created. Required when `availabilityMode` is set to `regional`.