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).

AWS::Detective::Graph

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.

Syntax

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

JSON

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

YAML

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

Properties

AutoEnableMembers

Property description not available.

Required: No

Type: Boolean

Update requires: No interruption

Tags

The tag values to assign to the new behavior graph.

Required: No

Type: List of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the ARN of the new behavior graph.

For more information about using the Reffunction, see Ref.

Fn::GetAtt

The Fn::GetAttintrinsic 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::GetAttintrinsic function, see Fn::GetAtt.

Arn

The ARN of the new behavior graph.

Examples

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

JSON

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

YAML

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