Struct aws_sdk_securityhub::operation::create_configuration_policy::CreateConfigurationPolicyInput
source · #[non_exhaustive]pub struct CreateConfigurationPolicyInput {
pub name: Option<String>,
pub description: Option<String>,
pub configuration_policy: Option<Policy>,
pub tags: Option<HashMap<String, String>>,
}
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.name: Option<String>
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /
.
description: Option<String>
The description of the configuration policy.
configuration_policy: Option<Policy>
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
User-defined tags associated with a configuration policy. For more information, see Tagging Security Hub resources in the Security Hub user guide.
Implementations§
source§impl CreateConfigurationPolicyInput
impl CreateConfigurationPolicyInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the configuration policy.
sourcepub fn configuration_policy(&self) -> Option<&Policy>
pub fn configuration_policy(&self) -> Option<&Policy>
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
User-defined tags associated with a configuration policy. For more information, see Tagging Security Hub resources in the Security Hub user guide.
source§impl CreateConfigurationPolicyInput
impl CreateConfigurationPolicyInput
sourcepub fn builder() -> CreateConfigurationPolicyInputBuilder
pub fn builder() -> CreateConfigurationPolicyInputBuilder
Creates a new builder-style object to manufacture CreateConfigurationPolicyInput
.
Trait Implementations§
source§impl Clone for CreateConfigurationPolicyInput
impl Clone for CreateConfigurationPolicyInput
source§fn clone(&self) -> CreateConfigurationPolicyInput
fn clone(&self) -> CreateConfigurationPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateConfigurationPolicyInput
impl PartialEq for CreateConfigurationPolicyInput
source§fn eq(&self, other: &CreateConfigurationPolicyInput) -> bool
fn eq(&self, other: &CreateConfigurationPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.