#[non_exhaustive]pub struct ConfigSnapshotDeliveryProperties {
pub delivery_frequency: Option<MaximumExecutionFrequency>,
}Expand description
Provides options for how often Config delivers configuration snapshots to the Amazon S3 bucket in your delivery channel.
The frequency for a rule that triggers evaluations for your resources when Config delivers the configuration snapshot is set by one of two values, depending on which is less frequent:
-
The value for the
deliveryFrequencyparameter within the delivery channel configuration, which sets how often Config delivers configuration snapshots. This value also sets how often Config invokes evaluations for Config rules. -
The value for the
MaximumExecutionFrequencyparameter, which sets the maximum frequency with which Config invokes evaluations for the rule. For more information, seeConfigRule.
If the deliveryFrequency value is less frequent than the MaximumExecutionFrequency value for a rule, Config invokes the rule only as often as the deliveryFrequency value.
-
For example, you want your rule to run evaluations when Config delivers the configuration snapshot.
-
You specify the
MaximumExecutionFrequencyvalue forSix_Hours. -
You then specify the delivery channel
deliveryFrequencyvalue forTwentyFour_Hours. -
Because the value for
deliveryFrequencyis less frequent thanMaximumExecutionFrequency, Config invokes evaluations for the rule every 24 hours.
You should set the MaximumExecutionFrequency value to be at least as frequent as the deliveryFrequency value. You can view the deliveryFrequency value by using the DescribeDeliveryChannnels action.
To update the deliveryFrequency with which Config delivers your configuration snapshots, use the PutDeliveryChannel action.
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.delivery_frequency: Option<MaximumExecutionFrequency>The frequency with which Config delivers configuration snapshots.
Implementations§
source§impl ConfigSnapshotDeliveryProperties
impl ConfigSnapshotDeliveryProperties
sourcepub fn delivery_frequency(&self) -> Option<&MaximumExecutionFrequency>
pub fn delivery_frequency(&self) -> Option<&MaximumExecutionFrequency>
The frequency with which Config delivers configuration snapshots.
source§impl ConfigSnapshotDeliveryProperties
impl ConfigSnapshotDeliveryProperties
sourcepub fn builder() -> ConfigSnapshotDeliveryPropertiesBuilder
pub fn builder() -> ConfigSnapshotDeliveryPropertiesBuilder
Creates a new builder-style object to manufacture ConfigSnapshotDeliveryProperties.
Trait Implementations§
source§impl Clone for ConfigSnapshotDeliveryProperties
impl Clone for ConfigSnapshotDeliveryProperties
source§fn clone(&self) -> ConfigSnapshotDeliveryProperties
fn clone(&self) -> ConfigSnapshotDeliveryProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ConfigSnapshotDeliveryProperties
impl PartialEq for ConfigSnapshotDeliveryProperties
source§fn eq(&self, other: &ConfigSnapshotDeliveryProperties) -> bool
fn eq(&self, other: &ConfigSnapshotDeliveryProperties) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfigSnapshotDeliveryProperties
Auto Trait Implementations§
impl Freeze for ConfigSnapshotDeliveryProperties
impl RefUnwindSafe for ConfigSnapshotDeliveryProperties
impl Send for ConfigSnapshotDeliveryProperties
impl Sync for ConfigSnapshotDeliveryProperties
impl Unpin for ConfigSnapshotDeliveryProperties
impl UnwindSafe for ConfigSnapshotDeliveryProperties
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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