#[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
sourceimpl 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.
sourceimpl ConfigSnapshotDeliveryProperties
impl ConfigSnapshotDeliveryProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConfigSnapshotDeliveryProperties
Trait Implementations
sourceimpl Clone for ConfigSnapshotDeliveryProperties
impl Clone for ConfigSnapshotDeliveryProperties
sourcefn clone(&self) -> ConfigSnapshotDeliveryProperties
fn clone(&self) -> ConfigSnapshotDeliveryProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<ConfigSnapshotDeliveryProperties> for ConfigSnapshotDeliveryProperties
impl PartialEq<ConfigSnapshotDeliveryProperties> for ConfigSnapshotDeliveryProperties
sourcefn eq(&self, other: &ConfigSnapshotDeliveryProperties) -> bool
fn eq(&self, other: &ConfigSnapshotDeliveryProperties) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConfigSnapshotDeliveryProperties) -> bool
fn ne(&self, other: &ConfigSnapshotDeliveryProperties) -> bool
This method tests for !=.
impl StructuralPartialEq for ConfigSnapshotDeliveryProperties
Auto Trait Implementations
impl RefUnwindSafe for ConfigSnapshotDeliveryProperties
impl Send for ConfigSnapshotDeliveryProperties
impl Sync for ConfigSnapshotDeliveryProperties
impl Unpin for ConfigSnapshotDeliveryProperties
impl UnwindSafe for ConfigSnapshotDeliveryProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more