You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::MitigationActionParams

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing MitigationActionParams as input to an Aws::Client method, you can use a vanilla Hash:

{
  update_device_certificate_params: {
    action: "DEACTIVATE", # required, accepts DEACTIVATE
  },
  update_ca_certificate_params: {
    action: "DEACTIVATE", # required, accepts DEACTIVATE
  },
  add_things_to_thing_group_params: {
    thing_group_names: ["ThingGroupName"], # required
    override_dynamic_groups: false,
  },
  replace_default_policy_version_params: {
    template_name: "BLANK_POLICY", # required, accepts BLANK_POLICY
  },
  enable_io_t_logging_params: {
    role_arn_for_logging: "RoleArn", # required
    log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
  },
  publish_finding_to_sns_params: {
    topic_arn: "SnsTopicArn", # required
  },
}

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).

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#add_things_to_thing_group_paramsTypes::AddThingsToThingGroupParams

Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.

Returns:

  • (Types::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_paramsTypes::EnableIoTLoggingParams

Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.

Returns:

#publish_finding_to_sns_paramsTypes::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.

Returns:

#replace_default_policy_version_paramsTypes::ReplaceDefaultPolicyVersionParams

Parameters to define a mitigation action that adds a blank policy to restrict permissions.

Returns:

#update_ca_certificate_paramsTypes::UpdateCACertificateParams

Parameters to define a mitigation action that changes the state of the CA certificate to inactive.

Returns:

#update_device_certificate_paramsTypes::UpdateDeviceCertificateParams

Parameters to define a mitigation action that changes the state of the device certificate to inactive.

Returns: