Skip to content

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

    Amazon Resource Name (ARN) of the IAM role with permissions 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"
      )
    )
  )
)