Struct aws_sdk_acm::types::ExpiryEventsConfiguration
source · #[non_exhaustive]pub struct ExpiryEventsConfiguration {
pub days_before_expiry: Option<i32>,
}
Expand description
Object containing expiration events options associated with an Amazon Web Services account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.days_before_expiry: Option<i32>
Specifies the number of days prior to certificate expiration when ACM starts generating EventBridge
events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
Implementations§
source§impl ExpiryEventsConfiguration
impl ExpiryEventsConfiguration
sourcepub fn days_before_expiry(&self) -> Option<i32>
pub fn days_before_expiry(&self) -> Option<i32>
Specifies the number of days prior to certificate expiration when ACM starts generating EventBridge
events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
source§impl ExpiryEventsConfiguration
impl ExpiryEventsConfiguration
sourcepub fn builder() -> ExpiryEventsConfigurationBuilder
pub fn builder() -> ExpiryEventsConfigurationBuilder
Creates a new builder-style object to manufacture ExpiryEventsConfiguration
.
Trait Implementations§
source§impl Clone for ExpiryEventsConfiguration
impl Clone for ExpiryEventsConfiguration
source§fn clone(&self) -> ExpiryEventsConfiguration
fn clone(&self) -> ExpiryEventsConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExpiryEventsConfiguration
impl Debug for ExpiryEventsConfiguration
source§impl PartialEq for ExpiryEventsConfiguration
impl PartialEq for ExpiryEventsConfiguration
source§fn eq(&self, other: &ExpiryEventsConfiguration) -> bool
fn eq(&self, other: &ExpiryEventsConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExpiryEventsConfiguration
Auto Trait Implementations§
impl Freeze for ExpiryEventsConfiguration
impl RefUnwindSafe for ExpiryEventsConfiguration
impl Send for ExpiryEventsConfiguration
impl Sync for ExpiryEventsConfiguration
impl Unpin for ExpiryEventsConfiguration
impl UnwindSafe for ExpiryEventsConfiguration
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.