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 AWS CloudFormation template, use the following syntax:
Properties
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 Ref
function, Ref
returns the ARN of the new behavior graph.
For more information about using the Ref
function, see Ref.
Fn::GetAtt
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.
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