[−][src]Struct rusoto_config::SourceDetail
Provides the source and the message types that trigger AWS Config to evaluate your AWS resources against a rule. It also provides the frequency with which you want AWS Config to run evaluations for the rule if the trigger type is periodic. You can specify the parameter values for SourceDetail
only for custom rules.
Fields
event_source: Option<String>
The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
maximum_execution_frequency: Option<String>
The frequency at which you want AWS Config to run evaluations for a custom rule with a periodic trigger. If you specify a value for MaximumExecutionFrequency
, then MessageType
must use the ScheduledNotification
value.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency
parameter.
Based on the valid value you choose, AWS Config runs evaluations once for each valid value. For example, if you choose ThreeHours
, AWS Config runs evaluations once every three hours. In this case, ThreeHours
is the frequency of this rule.
message_type: Option<String>
The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types:
-
ConfigurationItemChangeNotification
- Triggers an evaluation when AWS Config delivers a configuration item as a result of a resource change. -
OversizedConfigurationItemChangeNotification
- Triggers an evaluation when AWS Config delivers an oversized configuration item. AWS Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. -
ScheduledNotification
- Triggers a periodic evaluation at the frequency specified forMaximumExecutionFrequency
. -
ConfigurationSnapshotDeliveryCompleted
- Triggers a periodic evaluation when AWS Config delivers a configuration snapshot.
If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for ConfigurationItemChangeNotification
and one for OversizedConfigurationItemChangeNotification
.
Trait Implementations
impl Clone for SourceDetail
[src]
pub fn clone(&self) -> SourceDetail
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SourceDetail
[src]
impl Default for SourceDetail
[src]
pub fn default() -> SourceDetail
[src]
impl<'de> Deserialize<'de> for SourceDetail
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SourceDetail> for SourceDetail
[src]
pub fn eq(&self, other: &SourceDetail) -> bool
[src]
pub fn ne(&self, other: &SourceDetail) -> bool
[src]
impl Serialize for SourceDetail
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SourceDetail
[src]
Auto Trait Implementations
impl RefUnwindSafe for SourceDetail
[src]
impl Send for SourceDetail
[src]
impl Sync for SourceDetail
[src]
impl Unpin for SourceDetail
[src]
impl UnwindSafe for SourceDetail
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,