Struct aws_sdk_securityhub::operation::update_configuration_policy::UpdateConfigurationPolicyInput
source · #[non_exhaustive]pub struct UpdateConfigurationPolicyInput {
pub identifier: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub updated_reason: Option<String>,
pub configuration_policy: Option<Policy>,
}
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.identifier: Option<String>
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
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.
updated_reason: Option<String>
The reason for updating 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).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
Implementations§
source§impl UpdateConfigurationPolicyInput
impl UpdateConfigurationPolicyInput
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
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 updated_reason(&self) -> Option<&str>
pub fn updated_reason(&self) -> Option<&str>
The reason for updating 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).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
source§impl UpdateConfigurationPolicyInput
impl UpdateConfigurationPolicyInput
sourcepub fn builder() -> UpdateConfigurationPolicyInputBuilder
pub fn builder() -> UpdateConfigurationPolicyInputBuilder
Creates a new builder-style object to manufacture UpdateConfigurationPolicyInput
.
Trait Implementations§
source§impl Clone for UpdateConfigurationPolicyInput
impl Clone for UpdateConfigurationPolicyInput
source§fn clone(&self) -> UpdateConfigurationPolicyInput
fn clone(&self) -> UpdateConfigurationPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateConfigurationPolicyInput
impl PartialEq for UpdateConfigurationPolicyInput
source§fn eq(&self, other: &UpdateConfigurationPolicyInput) -> bool
fn eq(&self, other: &UpdateConfigurationPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateConfigurationPolicyInput
Auto Trait Implementations§
impl Freeze for UpdateConfigurationPolicyInput
impl RefUnwindSafe for UpdateConfigurationPolicyInput
impl Send for UpdateConfigurationPolicyInput
impl Sync for UpdateConfigurationPolicyInput
impl Unpin for UpdateConfigurationPolicyInput
impl UnwindSafe for UpdateConfigurationPolicyInput
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