Skip to content

Get Malware Protection Plan

guardduty_get_malware_protection_plan R Documentation

Retrieves the Malware Protection plan details associated with a Malware Protection plan ID

Description

Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.

Usage

guardduty_get_malware_protection_plan(MalwareProtectionPlanId)

Arguments

MalwareProtectionPlanId

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

Value

A list with the following syntax:

list(
  Arn = "string",
  Role = "string",
  ProtectedResource = list(
    S3Bucket = list(
      BucketName = "string",
      ObjectPrefixes = list(
        "string"
      )
    )
  ),
  Actions = list(
    Tagging = list(
      Status = "ENABLED"|"DISABLED"
    )
  ),
  CreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  Status = "ACTIVE"|"WARNING"|"ERROR",
  StatusReasons = list(
    list(
      Code = "string",
      Message = "string"
    )
  ),
  Tags = list(
    "string"
  )
)

Request syntax

svc$get_malware_protection_plan(
  MalwareProtectionPlanId = "string"
)