AWS::Detective::Graph - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


The AWS::Detective::Graph resource is an Amazon Detective resource type that creates a Detective behavior graph. The requesting account becomes the administrator account for the behavior graph.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Type" : "AWS::Detective::Graph", "Properties" : { "AutoEnableMembers" : Boolean, "Tags" : [ Tag, ... ] } }


Type: AWS::Detective::Graph Properties: AutoEnableMembers: Boolean Tags: - Tag



Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

By default, this property is set to false. If you want to change the value of this property, you must be the Detective administrator for the organization. For more information on setting a Detective administrator account, see AWS::Detective::OrganizationAdmin

Required: No

Type: Boolean

Update requires: No interruption


The tag values to assign to the new behavior graph.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values


When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ARN of the new behavior graph.

For more information about using the Ref function, see Ref.


The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.


The ARN of the new behavior graph.


Creating a new Detective behavior graph

This example shows how to declare a new AWS:Detective:Graph resource to create a new Detective behavior graph


"NewGraph": { "Type": "AWS::Detective::Graph" "Properties": { "Tags": [ { "Key": "Tag1Name", "Value": "Tag1Value" }, { "Key": "Tag2Name". "Value": "Tag2alue" } ] } }


NewGraph: Type: AWS::Detective::Graph Properties: Tags: - Key: Tag1Name Value: Tag1Value - Key: Tag2Name Value: Tag2Value