# AWS::Detective Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as detective from 'aws-cdk-lib/aws-detective';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Detective construct libraries](https://constructs.dev/search?q=detective)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Detective resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Detective.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Detective](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Detective.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnGraph`](/v2/docs/aws-cdk-lib.aws_detective.CfnGraph) | Construct (L1) | The `AWS::Detective::Graph` resource is an Amazon Detective resource type that creates a Detective behavior graph. |
| [`CfnMemberInvitation`](/v2/docs/aws-cdk-lib.aws_detective.CfnMemberInvitation) | Construct (L1) | The `AWS::Detective::MemberInvitation` resource is an Amazon Detective resource type that creates an invitation to join a Detective behavior graph. |
| [`CfnOrganizationAdmin`](/v2/docs/aws-cdk-lib.aws_detective.CfnOrganizationAdmin) | Construct (L1) | The `AWS::Detective::OrganizationAdmin` resource is an Amazon Detective resource type that designates the Detective administrator account for the organization in the current region. |
| [`CfnGraphProps`](/v2/docs/aws-cdk-lib.aws_detective.CfnGraphProps) | Struct | Properties for defining a `CfnGraph`. |
| [`CfnMemberInvitationProps`](/v2/docs/aws-cdk-lib.aws_detective.CfnMemberInvitationProps) | Struct | Properties for defining a `CfnMemberInvitation`. |
| [`CfnOrganizationAdminProps`](/v2/docs/aws-cdk-lib.aws_detective.CfnOrganizationAdminProps) | Struct | Properties for defining a `CfnOrganizationAdmin`. |
