#[non_exhaustive]pub struct OrganizationCustomPolicyRuleMetadataNoPolicy { /* private fields */ }Expand description
An object that specifies metadata for your organization Config Custom Policy rule including 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 trigger Config to evaluate Amazon Web Services resources against a rule.
Implementations§
source§impl OrganizationCustomPolicyRuleMetadataNoPolicy
impl OrganizationCustomPolicyRuleMetadataNoPolicy
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 triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:
-
ConfigurationItemChangeNotification- Triggers an evaluation when Config delivers a configuration item as a result of a resource change. -
OversizedConfigurationItemChangeNotification- Triggers 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 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 OrganizationCustomPolicyRuleMetadataNoPolicy
impl OrganizationCustomPolicyRuleMetadataNoPolicy
sourcepub fn builder() -> OrganizationCustomPolicyRuleMetadataNoPolicyBuilder
pub fn builder() -> OrganizationCustomPolicyRuleMetadataNoPolicyBuilder
Creates a new builder-style object to manufacture OrganizationCustomPolicyRuleMetadataNoPolicy.
Trait Implementations§
source§impl Clone for OrganizationCustomPolicyRuleMetadataNoPolicy
impl Clone for OrganizationCustomPolicyRuleMetadataNoPolicy
source§fn clone(&self) -> OrganizationCustomPolicyRuleMetadataNoPolicy
fn clone(&self) -> OrganizationCustomPolicyRuleMetadataNoPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<OrganizationCustomPolicyRuleMetadataNoPolicy> for OrganizationCustomPolicyRuleMetadataNoPolicy
impl PartialEq<OrganizationCustomPolicyRuleMetadataNoPolicy> for OrganizationCustomPolicyRuleMetadataNoPolicy
source§fn eq(&self, other: &OrganizationCustomPolicyRuleMetadataNoPolicy) -> bool
fn eq(&self, other: &OrganizationCustomPolicyRuleMetadataNoPolicy) -> bool
self and other values to be equal, and is used
by ==.