AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Detective::Graph

CfnGraph

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.

Import

import { CfnGraph } from 'aws-cdk-lib/aws-detective';

Or use the module namespace:

import * as detective from 'aws-cdk-lib/aws-detective';
// detective.CfnGraph

Properties

Configuration passed to the constructor as CfnGraphProps.

autoEnableMembersOptional
boolean | IResolvable

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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-organizationadmin.html) .

Default: - false

tagsOptional
CfnTag[]

The tag values to assign to the new behavior graph.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

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

LevelL1 (CloudFormation)
Moduleaws-detective
CFN TypeAWS::Detective::Graph
Properties2

External Links