Class: Aws::GuardDuty::Types::UpdateMalwareScanSettingsRequest

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

Overview

Note:

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

{
  detector_id: "DetectorId", # required
  scan_resource_criteria: {
    include: {
      "EC2_INSTANCE_TAG" => {
        map_equals: [ # required
          {
            key: "TagKey", # required
            value: "TagValue",
          },
        ],
      },
    },
    exclude: {
      "EC2_INSTANCE_TAG" => {
        map_equals: [ # required
          {
            key: "TagKey", # required
            value: "TagValue",
          },
        ],
      },
    },
  },
  ebs_snapshot_preservation: "NO_RETENTION", # accepts NO_RETENTION, RETENTION_WITH_FINDING
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.

Returns:

  • (String)


6597
6598
6599
6600
6601
6602
6603
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 6597

class UpdateMalwareScanSettingsRequest < Struct.new(
  :detector_id,
  :scan_resource_criteria,
  :ebs_snapshot_preservation)
  SENSITIVE = []
  include Aws::Structure
end

#ebs_snapshot_preservationString

An enum value representing possible snapshot preservation settings.

Returns:

  • (String)


6597
6598
6599
6600
6601
6602
6603
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 6597

class UpdateMalwareScanSettingsRequest < Struct.new(
  :detector_id,
  :scan_resource_criteria,
  :ebs_snapshot_preservation)
  SENSITIVE = []
  include Aws::Structure
end

#scan_resource_criteriaTypes::ScanResourceCriteria

Represents the criteria to be used in the filter for selecting resources to scan.



6597
6598
6599
6600
6601
6602
6603
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 6597

class UpdateMalwareScanSettingsRequest < Struct.new(
  :detector_id,
  :scan_resource_criteria,
  :ebs_snapshot_preservation)
  SENSITIVE = []
  include Aws::Structure
end