Skip to content

Create Publishing Destination

guardduty_create_publishing_destination R Documentation

Creates a publishing destination to export findings to

Description

Creates a publishing destination to export findings to. The resource to export 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 Amazon S3 buckets are supported.

DestinationProperties

[required] The 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.

Value

A list with the following syntax:

list(
  DestinationId = "string"
)

Request syntax

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