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 ==
.impl StructuralPartialEq for CreateConfigurationPolicyInput
Auto Trait Implementations§
impl Freeze for CreateConfigurationPolicyInput
impl RefUnwindSafe for CreateConfigurationPolicyInput
impl Send for CreateConfigurationPolicyInput
impl Sync for CreateConfigurationPolicyInput
impl Unpin for CreateConfigurationPolicyInput
impl UnwindSafe for CreateConfigurationPolicyInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more