Struct aws_sdk_lightsail::operation::create_load_balancer_tls_certificate::CreateLoadBalancerTlsCertificateInput
source · #[non_exhaustive]pub struct CreateLoadBalancerTlsCertificateInput {
pub load_balancer_name: Option<String>,
pub certificate_name: Option<String>,
pub certificate_domain_name: Option<String>,
pub certificate_alternative_names: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}
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_name: Option<String>
The load balancer name where you want to create the SSL/TLS certificate.
certificate_name: Option<String>
The SSL/TLS certificate name.
You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.
certificate_domain_name: Option<String>
The domain name (example.com
) for your SSL/TLS certificate.
certificate_alternative_names: Option<Vec<String>>
An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com
).
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
Implementations§
source§impl CreateLoadBalancerTlsCertificateInput
impl CreateLoadBalancerTlsCertificateInput
sourcepub fn load_balancer_name(&self) -> Option<&str>
pub fn load_balancer_name(&self) -> Option<&str>
The load balancer name where you want to create the SSL/TLS certificate.
sourcepub fn certificate_name(&self) -> Option<&str>
pub fn certificate_name(&self) -> Option<&str>
The SSL/TLS certificate name.
You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.
sourcepub fn certificate_domain_name(&self) -> Option<&str>
pub fn certificate_domain_name(&self) -> Option<&str>
The domain name (example.com
) for your SSL/TLS certificate.
sourcepub fn certificate_alternative_names(&self) -> &[String]
pub fn certificate_alternative_names(&self) -> &[String]
An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com
).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .certificate_alternative_names.is_none()
.
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateLoadBalancerTlsCertificateInput
impl CreateLoadBalancerTlsCertificateInput
sourcepub fn builder() -> CreateLoadBalancerTlsCertificateInputBuilder
pub fn builder() -> CreateLoadBalancerTlsCertificateInputBuilder
Creates a new builder-style object to manufacture CreateLoadBalancerTlsCertificateInput
.
Trait Implementations§
source§impl Clone for CreateLoadBalancerTlsCertificateInput
impl Clone for CreateLoadBalancerTlsCertificateInput
source§fn clone(&self) -> CreateLoadBalancerTlsCertificateInput
fn clone(&self) -> CreateLoadBalancerTlsCertificateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateLoadBalancerTlsCertificateInput
impl PartialEq for CreateLoadBalancerTlsCertificateInput
source§fn eq(&self, other: &CreateLoadBalancerTlsCertificateInput) -> bool
fn eq(&self, other: &CreateLoadBalancerTlsCertificateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLoadBalancerTlsCertificateInput
Auto Trait Implementations§
impl Freeze for CreateLoadBalancerTlsCertificateInput
impl RefUnwindSafe for CreateLoadBalancerTlsCertificateInput
impl Send for CreateLoadBalancerTlsCertificateInput
impl Sync for CreateLoadBalancerTlsCertificateInput
impl Unpin for CreateLoadBalancerTlsCertificateInput
impl UnwindSafe for CreateLoadBalancerTlsCertificateInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more