[][src]Struct rusoto_config::OrganizationCustomRuleMetadata

pub struct OrganizationCustomRuleMetadata {
    pub description: Option<String>,
    pub input_parameters: Option<String>,
    pub lambda_function_arn: String,
    pub maximum_execution_frequency: Option<String>,
    pub organization_config_rule_trigger_types: Vec<String>,
    pub resource_id_scope: Option<String>,
    pub resource_types_scope: Option<Vec<String>>,
    pub tag_key_scope: Option<String>,
    pub tag_value_scope: Option<String>,
}

An object that specifies organization custom rule metadata such as resource type, resource ID of AWS resource, Lamdba function ARN, and organization trigger 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.

Fields

description: Option<String>

The description that you provide for organization config rule.

input_parameters: Option<String>

A string, in JSON format, that is passed to organization config rule Lambda function.

lambda_function_arn: String

The lambda function ARN.

maximum_execution_frequency: Option<String>

The maximum frequency with which AWS Config runs evaluations for a rule. Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.

By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.

organization_config_rule_trigger_types: Vec<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 for MaximumExecutionFrequency.

resource_id_scope: Option<String>

The ID of the AWS resource that was evaluated.

resource_types_scope: Option<Vec<String>>

The type of the AWS resource that was evaluated.

tag_key_scope: Option<String>

One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

tag_value_scope: Option<String>

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

Trait Implementations

impl Clone for OrganizationCustomRuleMetadata[src]

impl Default for OrganizationCustomRuleMetadata[src]

impl PartialEq<OrganizationCustomRuleMetadata> for OrganizationCustomRuleMetadata[src]

impl Debug for OrganizationCustomRuleMetadata[src]

impl StructuralPartialEq for OrganizationCustomRuleMetadata[src]

impl<'de> Deserialize<'de> for OrganizationCustomRuleMetadata[src]

impl Serialize for OrganizationCustomRuleMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self