Struct aws_sdk_elasticloadbalancingv2::input::SetSubnetsInput [−][src]
#[non_exhaustive]pub struct SetSubnetsInput {
pub load_balancer_arn: Option<String>,
pub subnets: Option<Vec<String>>,
pub subnet_mappings: Option<Vec<SubnetMapping>>,
pub ip_address_type: Option<IpAddressType>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.load_balancer_arn: Option<String>
The Amazon Resource Name (ARN) of the load balancer.
subnets: Option<Vec<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.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
subnet_mappings: Option<Vec<SubnetMapping>>
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.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
ip_address_type: Option<IpAddressType>
[Network Load Balancers] The type of IP addresses used by the subnets for your load
balancer. The possible values are ipv4
(for IPv4 addresses) and
dualstack
(for IPv4 and IPv6 addresses). You can’t specify
dualstack
for a load balancer with a UDP or TCP_UDP listener. Internal load
balancers must use ipv4
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetSubnets, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetSubnets, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetSubnets
>
Creates a new builder-style object to manufacture SetSubnetsInput
The Amazon Resource Name (ARN) of the load balancer.
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.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
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.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Network Load Balancers] The type of IP addresses used by the subnets for your load
balancer. The possible values are ipv4
(for IPv4 addresses) and
dualstack
(for IPv4 and IPv6 addresses). You can’t specify
dualstack
for a load balancer with a UDP or TCP_UDP listener. Internal load
balancers must use ipv4
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetSubnetsInput
impl Send for SetSubnetsInput
impl Sync for SetSubnetsInput
impl Unpin for SetSubnetsInput
impl UnwindSafe for SetSubnetsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more