AWS::GuardDuty::PublishingDestinationCreates 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 { CfnPublishingDestination } from 'aws-cdk-lib/aws-guardduty';Or use the module namespace:
import * as guardduty from 'aws-cdk-lib/aws-guardduty';
// guardduty.CfnPublishingDestinationConfiguration passed to the constructor as CfnPublishingDestinationProps.
destinationPropertiesRequiredIResolvable | CFNDestinationPropertiesPropertyContains 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.
destinationTypeRequiredstringThe type of publishing destination. GuardDuty supports Amazon S3 buckets as a publishing destination.
detectorIdRequiredstringThe ID of the GuardDuty detector where the publishing destination exists.
tagsOptionalTagItemProperty[]Describes a tag.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-guarddutyAWS::GuardDuty::PublishingDestination