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

Class: Aws::IoT::Types::AuditMitigationActionsTaskTarget

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass AuditMitigationActionsTaskTarget data as a hash:

{
  audit_task_id: "AuditTaskId",
  finding_ids: ["FindingId"],
  audit_check_to_reason_code_filter: {
    "AuditCheckName" => ["ReasonForNonComplianceCode"],
  },
}

Used in MitigationActionParams, this information identifies the target findings to which the mitigation actions are applied. Only one entry appears.

Instance Attribute Summary collapse

Instance Attribute Details

#audit_check_to_reason_code_filterHash<String,Array<String>>

Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.

Returns:

  • (Hash<String,Array<String>>)


898
899
900
901
902
903
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 898

class AuditMitigationActionsTaskTarget < Struct.new(
  :audit_task_id,
  :finding_ids,
  :audit_check_to_reason_code_filter)
  include Aws::Structure
end

#audit_task_idString

If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.

Returns:

  • (String)


898
899
900
901
902
903
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 898

class AuditMitigationActionsTaskTarget < Struct.new(
  :audit_task_id,
  :finding_ids,
  :audit_check_to_reason_code_filter)
  include Aws::Structure
end

#finding_idsArray<String>

If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.

Returns:

  • (Array<String>)


898
899
900
901
902
903
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 898

class AuditMitigationActionsTaskTarget < Struct.new(
  :audit_task_id,
  :finding_ids,
  :audit_check_to_reason_code_filter)
  include Aws::Structure
end