Skip to content

Update Malware Protection Plan

guardduty_update_malware_protection_plan R Documentation

Updates an existing Malware Protection plan resource

Description

Updates an existing Malware Protection plan resource.

Usage

guardduty_update_malware_protection_plan(MalwareProtectionPlanId, Role,
  Actions, ProtectedResource)

Arguments

MalwareProtectionPlanId

[required] A unique identifier associated with the Malware Protection plan.

Role

IAM role with permissions required to scan and add tags to the associated protected resource.

Actions

Information about whether the tags will be added to the S3 object after scanning.

ProtectedResource

Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource.

Value

An empty list.

Request syntax

svc$update_malware_protection_plan(
  MalwareProtectionPlanId = "string",
  Role = "string",
  Actions = list(
    Tagging = list(
      Status = "ENABLED"|"DISABLED"
    )
  ),
  ProtectedResource = list(
    S3Bucket = list(
      ObjectPrefixes = list(
        "string"
      )
    )
  )
)