#[non_exhaustive]pub struct OrganizationManagedRuleMetadata { /* private fields */ }Expand description
An object that specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
Implementations§
source§impl OrganizationManagedRuleMetadata
impl OrganizationManagedRuleMetadata
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description that you provide for your organization Config rule.
sourcepub fn rule_identifier(&self) -> Option<&str>
pub fn rule_identifier(&self) -> Option<&str>
For organization config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using Config managed rules.
sourcepub fn input_parameters(&self) -> Option<&str>
pub fn input_parameters(&self) -> Option<&str>
A string, in JSON format, that is passed to your organization Config rule Lambda function.
sourcepub fn maximum_execution_frequency(&self) -> Option<&MaximumExecutionFrequency>
pub fn maximum_execution_frequency(&self) -> Option<&MaximumExecutionFrequency>
The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.
sourcepub fn resource_types_scope(&self) -> Option<&[String]>
pub fn resource_types_scope(&self) -> Option<&[String]>
The type of the Amazon Web Services resource that was evaluated.
sourcepub fn resource_id_scope(&self) -> Option<&str>
pub fn resource_id_scope(&self) -> Option<&str>
The ID of the Amazon Web Services resource that was evaluated.
sourcepub fn tag_key_scope(&self) -> Option<&str>
pub fn tag_key_scope(&self) -> Option<&str>
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.
sourcepub fn tag_value_scope(&self) -> Option<&str>
pub fn tag_value_scope(&self) -> Option<&str>
The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
source§impl OrganizationManagedRuleMetadata
impl OrganizationManagedRuleMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OrganizationManagedRuleMetadata.
Trait Implementations§
source§impl Clone for OrganizationManagedRuleMetadata
impl Clone for OrganizationManagedRuleMetadata
source§fn clone(&self) -> OrganizationManagedRuleMetadata
fn clone(&self) -> OrganizationManagedRuleMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more