Struct aws_sdk_securityhub::types::ParameterConfiguration
source · #[non_exhaustive]pub struct ParameterConfiguration {
pub value_type: Option<ParameterValueType>,
pub value: Option<ParameterValue>,
}
Expand description
An object that provides the current value of a security control parameter and identifies whether it has been customized.
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.value_type: Option<ParameterValueType>
Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.
When ValueType
is set equal to DEFAULT
, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ValueType
is set equal to DEFAULT
, Security Hub ignores user-provided input for the Value
field.
When ValueType
is set equal to CUSTOM
, the Value
field can't be empty.
value: Option<ParameterValue>
The current value of a control parameter.
Implementations§
source§impl ParameterConfiguration
impl ParameterConfiguration
sourcepub fn value_type(&self) -> Option<&ParameterValueType>
pub fn value_type(&self) -> Option<&ParameterValueType>
Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.
When ValueType
is set equal to DEFAULT
, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ValueType
is set equal to DEFAULT
, Security Hub ignores user-provided input for the Value
field.
When ValueType
is set equal to CUSTOM
, the Value
field can't be empty.
sourcepub fn value(&self) -> Option<&ParameterValue>
pub fn value(&self) -> Option<&ParameterValue>
The current value of a control parameter.
source§impl ParameterConfiguration
impl ParameterConfiguration
sourcepub fn builder() -> ParameterConfigurationBuilder
pub fn builder() -> ParameterConfigurationBuilder
Creates a new builder-style object to manufacture ParameterConfiguration
.
Trait Implementations§
source§impl Clone for ParameterConfiguration
impl Clone for ParameterConfiguration
source§fn clone(&self) -> ParameterConfiguration
fn clone(&self) -> ParameterConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterConfiguration
impl Debug for ParameterConfiguration
source§impl PartialEq for ParameterConfiguration
impl PartialEq for ParameterConfiguration
source§fn eq(&self, other: &ParameterConfiguration) -> bool
fn eq(&self, other: &ParameterConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.