# CfnGraphProps

Properties for defining a `CfnGraph`.

Extends: CfnGraphProps
Used as props by: CfnGraph

- Source: Generated code
- Type last changed: v2.88.0 · 20 Jul 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_detective as detective } from 'aws-cdk-lib';
const cfnGraphProps: detective.CfnGraphProps = {
  autoEnableMembers: false,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `autoEnableMembers`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — 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) .

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tag values to assign to the new behavior graph.
