AWS Fundamentals Logo
AWS Fundamentals
AWS::GuardDuty::Detector

GuardDuty Detector

Resource Type definition for AWS::GuardDuty::Detector

Properties

5 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
Enable
boolean
Required
DataSources
CFNDataSourceConfigurations
Features
Array<CFNFeatureConfiguration>
FindingPublishingFrequency
string
Tags
Array<TagItem>

Return Values

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

AttributeTypeDescription
Idstring-

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::Detector

Resources:
  MyResource:
    Type: AWS::GuardDuty::Detector
    Properties:
      Enable: true
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

guardduty:CreateDetectorguardduty:GetDetectorguardduty:TagResourceiam:CreateServiceLinkedRoleiam:GetRole

read

guardduty:GetDetectorguardduty:ListTagsForResource

delete

guardduty:ListDetectorsguardduty:DeleteDetectorguardduty:GetDetector

update

guardduty:UpdateDetectorguardduty:GetDetectorguardduty:ListDetectorsiam:CreateServiceLinkedRoleiam:GetRoleguardduty:TagResourceguardduty:UntagResource

list

guardduty:ListDetectors

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
Properties6
Required1
TaggingSupported
Primary IDId

Supported Operations

CreateReadDeleteUpdateList

External Links