Class NatGatewayArgs


  • public final class NatGatewayArgs
    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.
      • 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`.
      • 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.
      • 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.
      • 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.
      • 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`.