#[non_exhaustive]pub struct OrganizationCustomPolicyRuleMetadata { /* private fields */ }Expand description
An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
Implementations§
source§impl OrganizationCustomPolicyRuleMetadata
impl OrganizationCustomPolicyRuleMetadata
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description that you provide for your organization Config Custom Policy rule.
sourcepub fn organization_config_rule_trigger_types(
&self
) -> Option<&[OrganizationConfigRuleTriggerTypeNoSn]>
pub fn organization_config_rule_trigger_types(
&self
) -> Option<&[OrganizationConfigRuleTriggerTypeNoSn]>
The type of notification that initiates Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change-initiated notification types:
-
ConfigurationItemChangeNotification- Initiates an evaluation when Config delivers a configuration item as a result of a resource change. -
OversizedConfigurationItemChangeNotification- Initiates an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.
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 Custom Policy rule.
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. Your Config Custom Policy rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
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).
sourcepub fn policy_runtime(&self) -> Option<&str>
pub fn policy_runtime(&self) -> Option<&str>
The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
sourcepub fn policy_text(&self) -> Option<&str>
pub fn policy_text(&self) -> Option<&str>
The policy definition containing the logic for your organization Config Custom Policy rule.
sourcepub fn debug_log_delivery_accounts(&self) -> Option<&[String]>
pub fn debug_log_delivery_accounts(&self) -> Option<&[String]>
A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.
source§impl OrganizationCustomPolicyRuleMetadata
impl OrganizationCustomPolicyRuleMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OrganizationCustomPolicyRuleMetadata.
Trait Implementations§
source§impl Clone for OrganizationCustomPolicyRuleMetadata
impl Clone for OrganizationCustomPolicyRuleMetadata
source§fn clone(&self) -> OrganizationCustomPolicyRuleMetadata
fn clone(&self) -> OrganizationCustomPolicyRuleMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more