Struct aws_sdk_securityhub::input::EnableSecurityHubInput
source · [−]#[non_exhaustive]pub struct EnableSecurityHubInput {
pub tags: Option<HashMap<String, String>>,
pub enable_default_standards: bool,
}
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.The tags to add to the hub resource when you enable Security Hub.
enable_default_standards: bool
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value for EnableDefaultStandards
, it is set to true
. To not enable the automatically enabled standards, set EnableDefaultStandards
to false
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableSecurityHub, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableSecurityHub, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<EnableSecurityHub
>
Creates a new builder-style object to manufacture EnableSecurityHubInput
The tags to add to the hub resource when you enable Security Hub.
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value for EnableDefaultStandards
, it is set to true
. To not enable the automatically enabled standards, set EnableDefaultStandards
to false
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EnableSecurityHubInput
impl Send for EnableSecurityHubInput
impl Sync for EnableSecurityHubInput
impl Unpin for EnableSecurityHubInput
impl UnwindSafe for EnableSecurityHubInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more