#[non_exhaustive]pub struct OrganizationConfiguration {
pub configuration_type: Option<OrganizationConfigurationConfigurationType>,
pub status: Option<OrganizationConfigurationStatus>,
pub status_message: Option<String>,
}
Expand description
Provides information about the way an organization is configured in Security Hub.
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.configuration_type: Option<OrganizationConfigurationConfigurationType>
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable
to true
and AutoEnableStandards
to DEFAULT
. This automatically enables Security Hub and default security standards in new organization accounts. These new account settings must be set separately in each Amazon Web Services Region, and settings may be different in each Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
status: Option<OrganizationConfigurationStatus>
Describes whether central configuration could be enabled as the ConfigurationType
for the organization. If your ConfigurationType
is local configuration, then the value of Status
is always ENABLED
.
status_message: Option<String>
Provides an explanation if the value of Status
is equal to FAILED
when ConfigurationType
is equal to CENTRAL
.
Implementations§
source§impl OrganizationConfiguration
impl OrganizationConfiguration
sourcepub fn configuration_type(
&self
) -> Option<&OrganizationConfigurationConfigurationType>
pub fn configuration_type( &self ) -> Option<&OrganizationConfigurationConfigurationType>
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable
to true
and AutoEnableStandards
to DEFAULT
. This automatically enables Security Hub and default security standards in new organization accounts. These new account settings must be set separately in each Amazon Web Services Region, and settings may be different in each Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
sourcepub fn status(&self) -> Option<&OrganizationConfigurationStatus>
pub fn status(&self) -> Option<&OrganizationConfigurationStatus>
Describes whether central configuration could be enabled as the ConfigurationType
for the organization. If your ConfigurationType
is local configuration, then the value of Status
is always ENABLED
.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
Provides an explanation if the value of Status
is equal to FAILED
when ConfigurationType
is equal to CENTRAL
.
source§impl OrganizationConfiguration
impl OrganizationConfiguration
sourcepub fn builder() -> OrganizationConfigurationBuilder
pub fn builder() -> OrganizationConfigurationBuilder
Creates a new builder-style object to manufacture OrganizationConfiguration
.
Trait Implementations§
source§impl Clone for OrganizationConfiguration
impl Clone for OrganizationConfiguration
source§fn clone(&self) -> OrganizationConfiguration
fn clone(&self) -> OrganizationConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OrganizationConfiguration
impl Debug for OrganizationConfiguration
source§impl PartialEq for OrganizationConfiguration
impl PartialEq for OrganizationConfiguration
source§fn eq(&self, other: &OrganizationConfiguration) -> bool
fn eq(&self, other: &OrganizationConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.