AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::GuardDuty::PublishingDestination

CfnPublishingDestination

Creates a publishing destination where you can export your GuardDuty findings. Before you start exporting the findings, the destination resource must exist. For more information about considerations and permissions, see [Exporting GuardDuty findings to Amazon S3 buckets](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html) in the *Amazon GuardDuty User Guide* .

Import

import { CfnPublishingDestination } from 'aws-cdk-lib/aws-guardduty';

Or use the module namespace:

import * as guardduty from 'aws-cdk-lib/aws-guardduty';
// guardduty.CfnPublishingDestination

Properties

Configuration passed to the constructor as CfnPublishingDestinationProps.

destinationPropertiesRequired
IResolvable | CFNDestinationPropertiesProperty

Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.

destinationTypeRequired
string

The type of publishing destination. GuardDuty supports Amazon S3 buckets as a publishing destination.

detectorIdRequired
string

The ID of the GuardDuty detector where the publishing destination exists.

tagsOptional
TagItemProperty[]

Describes a tag.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter