AWS Fundamentals Logo
AWS Fundamentals
AWS::GuardDuty::PublishingDestination

GuardDuty PublishingDestination

Resource Type definition for AWS::GuardDuty::PublishingDestination.

Properties

4 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
DestinationProperties
CFNDestinationProperties
Required
DestinationType
string
Required
DetectorId
string
RequiredCreate-only
Tags
Array<TagItem>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
IdstringThe ID of the publishing destination.
PublishingFailureStartTimestampstringThe time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
StatusstringThe status of the publishing destination.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::GuardDuty::PublishingDestination

Resources:
  MyResource:
    Type: AWS::GuardDuty::PublishingDestination
    Properties:
      DetectorId: "my-detectorid"
      DestinationType: "value"
      DestinationProperties: {}
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

guardduty:CreatePublishingDestinationguardduty:TagResourceguardduty:DescribePublishingDestinationguardduty:ListTagsForResource

read

guardduty:DescribePublishingDestinationguardduty:ListTagsForResource

update

guardduty:UpdatePublishingDestinationguardduty:TagResourceguardduty:UntagResourceguardduty:ListTagsForResourceguardduty:DescribePublishingDestination

delete

guardduty:DeletePublishingDestinationguardduty:DescribePublishingDestination

list

guardduty:ListPublishingDestinations

Learn AWS the Practical Way

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

Subscribe to Newsletter

Quick Facts

ServiceGuardDuty
Properties7
Required3
TaggingSupported
Primary IDDetectorId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DetectorId

External Links