Learn R Programming

paws.security.identity (version 0.1.8)

guardduty_create_publishing_destination: Creates a publishing destination to send findings to

Description

Creates a publishing destination to send findings to. The resource to send findings to must exist before you use this operation.

Usage

guardduty_create_publishing_destination(DetectorId, DestinationType,
  DestinationProperties, ClientToken)

Arguments

DetectorId

[required] The ID of the GuardDuty detector associated with the publishing destination.

DestinationType

[required] The type of resource for the publishing destination. Currently only S3 is supported.

DestinationProperties

[required] Properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.

ClientToken

The idempotency token for the request.

Request syntax

svc$create_publishing_destination(
  DetectorId = "string",
  DestinationType = "S3",
  DestinationProperties = list(
    DestinationArn = "string",
    KmsKeyArn = "string"
  ),
  ClientToken = "string"
)