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 in the Amazon GuardDuty User Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Type" : "AWS::GuardDuty::PublishingDestination",
"Properties" : {
"DestinationProperties" : CFNDestinationProperties
,
"DestinationType" : String
,
"DetectorId" : String
,
"Tags" : [ TagItem, ... ]
}
}
YAML
Type: AWS::GuardDuty::PublishingDestination
Properties:
DestinationProperties:
CFNDestinationProperties
DestinationType: String
DetectorId: String
Tags:
- TagItem
Properties
DestinationProperties
-
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.
Required: Yes
Type: CFNDestinationProperties
Update requires: No interruption
DestinationType
-
The type of publishing destination. GuardDuty supports Amazon S3 buckets as a publishing destination.
Required: Yes
Type: String
Update requires: No interruption
DetectorId
-
The ID of the GuardDuty detector where the publishing destination exists.
Required: Yes
Type: String
Minimum:
1
Maximum:
300
Update requires: Replacement
-
Describes a tag.
Required: No
Type: Array of TagItem
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the resource publishing destination ID.
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
Id
-
The ID of the publishing destination.
PublishingFailureStartTimestamp
-
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
Status
-
The status of the publishing destination.