#[non_exhaustive]pub struct CreateListenerInput { /* private fields */ }
Implementations§
source§impl CreateListenerInput
impl CreateListenerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateListener, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateListener, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateListener
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateListenerInput
.
source§impl CreateListenerInput
impl CreateListenerInput
sourcepub fn load_balancer_arn(&self) -> Option<&str>
pub fn load_balancer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn protocol(&self) -> Option<&ProtocolEnum>
pub fn protocol(&self) -> Option<&ProtocolEnum>
The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
sourcepub fn port(&self) -> Option<i32>
pub fn port(&self) -> Option<i32>
The port on which the load balancer is listening. You cannot specify a port for a Gateway Load Balancer.
sourcepub fn ssl_policy(&self) -> Option<&str>
pub fn ssl_policy(&self) -> Option<&str>
[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 and Security policies in the Network Load Balancers Guide.
sourcepub fn certificates(&self) -> Option<&[Certificate]>
pub fn certificates(&self) -> Option<&[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
.
sourcepub fn default_actions(&self) -> Option<&[Action]>
pub fn default_actions(&self) -> Option<&[Action]>
The actions for the default rule.
sourcepub fn alpn_policy(&self) -> Option<&[String]>
pub fn alpn_policy(&self) -> Option<&[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.
The tags to assign to the listener.
Trait Implementations§
source§impl Clone for CreateListenerInput
impl Clone for CreateListenerInput
source§fn clone(&self) -> CreateListenerInput
fn clone(&self) -> CreateListenerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateListenerInput
impl Debug for CreateListenerInput
source§impl PartialEq<CreateListenerInput> for CreateListenerInput
impl PartialEq<CreateListenerInput> for CreateListenerInput
source§fn eq(&self, other: &CreateListenerInput) -> bool
fn eq(&self, other: &CreateListenerInput) -> bool
self
and other
values to be equal, and is used
by ==
.