Struct aws_sdk_elasticloadbalancingv2::input::ModifyListenerInput [−][src]
#[non_exhaustive]pub struct ModifyListenerInput {
pub listener_arn: Option<String>,
pub port: Option<i32>,
pub protocol: Option<ProtocolEnum>,
pub ssl_policy: Option<String>,
pub certificates: Option<Vec<Certificate>>,
pub default_actions: Option<Vec<Action>>,
pub alpn_policy: Option<Vec<String>>,
}
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.listener_arn: Option<String>
The Amazon Resource Name (ARN) of the listener.
port: Option<i32>
The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.
protocol: Option<ProtocolEnum>
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
ssl_policy: Option<String>
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.
certificates: Option<Vec<Certificate>>
[HTTPS and TLS listeners] The default certificate for the listener. You must provide
exactly one certificate. Set CertificateArn
to the certificate ARN but do not set
IsDefault
.
default_actions: Option<Vec<Action>>
The actions for the default rule.
alpn_policy: Option<Vec<String>>
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
-
HTTP1Only
-
HTTP2Only
-
HTTP2Optional
-
HTTP2Preferred
-
None
For more information, see ALPN policies in the Network Load Balancers Guide.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyListener, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyListener, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyListener
>
Creates a new builder-style object to manufacture ModifyListenerInput
The Amazon Resource Name (ARN) of the listener.
The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.
[HTTPS and TLS listeners] The default certificate for the listener. You must provide
exactly one certificate. Set CertificateArn
to the certificate ARN but do not set
IsDefault
.
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
-
HTTP1Only
-
HTTP2Only
-
HTTP2Optional
-
HTTP2Preferred
-
None
For more information, see ALPN policies in the Network Load Balancers Guide.
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 ModifyListenerInput
impl Send for ModifyListenerInput
impl Sync for ModifyListenerInput
impl Unpin for ModifyListenerInput
impl UnwindSafe for ModifyListenerInput
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