Struct aws_sdk_config::types::OrganizationConfigRule
source · #[non_exhaustive]pub struct OrganizationConfigRule {
pub organization_config_rule_name: String,
pub organization_config_rule_arn: String,
pub organization_managed_rule_metadata: Option<OrganizationManagedRuleMetadata>,
pub organization_custom_rule_metadata: Option<OrganizationCustomRuleMetadata>,
pub excluded_accounts: Option<Vec<String>>,
pub last_update_time: Option<DateTime>,
pub organization_custom_policy_rule_metadata: Option<OrganizationCustomPolicyRuleMetadataNoPolicy>,
}Expand description
An organization Config rule that has information about Config rules that Config creates in member accounts.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.organization_config_rule_name: StringThe name that you assign to organization Config rule.
organization_config_rule_arn: StringAmazon Resource Name (ARN) of organization Config rule.
organization_managed_rule_metadata: Option<OrganizationManagedRuleMetadata>An OrganizationManagedRuleMetadata object.
organization_custom_rule_metadata: Option<OrganizationCustomRuleMetadata>An OrganizationCustomRuleMetadata object.
excluded_accounts: Option<Vec<String>>A comma-separated list of accounts excluded from organization Config rule.
last_update_time: Option<DateTime>The timestamp of the last update.
organization_custom_policy_rule_metadata: Option<OrganizationCustomPolicyRuleMetadataNoPolicy>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 OrganizationConfigRule
impl OrganizationConfigRule
sourcepub fn organization_config_rule_name(&self) -> &str
pub fn organization_config_rule_name(&self) -> &str
The name that you assign to organization Config rule.
sourcepub fn organization_config_rule_arn(&self) -> &str
pub fn organization_config_rule_arn(&self) -> &str
Amazon Resource Name (ARN) of organization Config rule.
sourcepub fn organization_managed_rule_metadata(
&self
) -> Option<&OrganizationManagedRuleMetadata>
pub fn organization_managed_rule_metadata( &self ) -> Option<&OrganizationManagedRuleMetadata>
An OrganizationManagedRuleMetadata object.
sourcepub fn organization_custom_rule_metadata(
&self
) -> Option<&OrganizationCustomRuleMetadata>
pub fn organization_custom_rule_metadata( &self ) -> Option<&OrganizationCustomRuleMetadata>
An OrganizationCustomRuleMetadata object.
sourcepub fn excluded_accounts(&self) -> &[String]
pub fn excluded_accounts(&self) -> &[String]
A comma-separated list of accounts excluded from organization Config rule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .excluded_accounts.is_none().
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The timestamp of the last update.
sourcepub fn organization_custom_policy_rule_metadata(
&self
) -> Option<&OrganizationCustomPolicyRuleMetadataNoPolicy>
pub fn organization_custom_policy_rule_metadata( &self ) -> Option<&OrganizationCustomPolicyRuleMetadataNoPolicy>
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.
source§impl OrganizationConfigRule
impl OrganizationConfigRule
sourcepub fn builder() -> OrganizationConfigRuleBuilder
pub fn builder() -> OrganizationConfigRuleBuilder
Creates a new builder-style object to manufacture OrganizationConfigRule.
Trait Implementations§
source§impl Clone for OrganizationConfigRule
impl Clone for OrganizationConfigRule
source§fn clone(&self) -> OrganizationConfigRule
fn clone(&self) -> OrganizationConfigRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OrganizationConfigRule
impl Debug for OrganizationConfigRule
source§impl PartialEq for OrganizationConfigRule
impl PartialEq for OrganizationConfigRule
source§fn eq(&self, other: &OrganizationConfigRule) -> bool
fn eq(&self, other: &OrganizationConfigRule) -> bool
self and other values to be equal, and is used
by ==.