SetSubnetsInput

public struct SetSubnetsInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The Amazon Resource Name (ARN) of the load balancer.

    Declaration

    Swift

    public let loadBalancerArn: String
  • The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Network Load Balancers] You can specify subnets from one or more Availability Zones. If you need static IP addresses for your internet-facing load balancer, you can specify one Elastic IP address per subnet. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet.

    Declaration

    Swift

    public let subnetMappings: [SubnetMapping]?
  • The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.

    Declaration

    Swift

    public let subnets: [String]?
  • Undocumented

    Declaration

    Swift

    public init(loadBalancerArn: String, subnetMappings: [SubnetMapping]? = nil, subnets: [String]? = nil)