pub struct MitigationActionParams {
pub add_things_to_thing_group_params: Option<AddThingsToThingGroupParams>,
pub enable_io_t_logging_params: Option<EnableIoTLoggingParams>,
pub publish_finding_to_sns_params: Option<PublishFindingToSnsParams>,
pub replace_default_policy_version_params: Option<ReplaceDefaultPolicyVersionParams>,
pub update_ca_certificate_params: Option<UpdateCACertificateParams>,
pub update_device_certificate_params: Option<UpdateDeviceCertificateParams>,
}Expand description
The set of parameters for this mitigation action. You can specify only one type of parameter (in other words, you can apply only one action for each defined mitigation action).
Fields§
§add_things_to_thing_group_params: Option<AddThingsToThingGroupParams>Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.
enable_io_t_logging_params: Option<EnableIoTLoggingParams>Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
publish_finding_to_sns_params: Option<PublishFindingToSnsParams>Parameters to define a mitigation action that publishes findings to Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
replace_default_policy_version_params: Option<ReplaceDefaultPolicyVersionParams>Parameters to define a mitigation action that adds a blank policy to restrict permissions.
update_ca_certificate_params: Option<UpdateCACertificateParams>Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
update_device_certificate_params: Option<UpdateDeviceCertificateParams>Parameters to define a mitigation action that changes the state of the device certificate to inactive.
Trait Implementations§
Source§impl Clone for MitigationActionParams
impl Clone for MitigationActionParams
Source§fn clone(&self) -> MitigationActionParams
fn clone(&self) -> MitigationActionParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more