# Amazon Inspector Construct Library

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

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

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 Inspector construct libraries](https://constructs.dev/search?q=inspector)
- 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::Inspector resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Inspector.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::Inspector](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Inspector.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 |
| --- | --- | --- |
| [`AssessmentTemplate`](/v2/docs/aws-cdk-lib.aws_inspector.AssessmentTemplate) | Construct (L2) | An Amazon Inspector assessment template. |
| [`CfnAssessmentTarget`](/v2/docs/aws-cdk-lib.aws_inspector.CfnAssessmentTarget) | Construct (L1) | The `AWS::Inspector::AssessmentTarget` resource is used to create Amazon Inspector assessment targets, which specify the Amazon EC2 instances that will be analyzed during an assessment run. |
| [`CfnAssessmentTemplate`](/v2/docs/aws-cdk-lib.aws_inspector.CfnAssessmentTemplate) | Construct (L1) | The `AWS::Inspector::AssessmentTemplate` resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations. |
| [`CfnResourceGroup`](/v2/docs/aws-cdk-lib.aws_inspector.CfnResourceGroup) | Construct (L1) | The `AWS::Inspector::ResourceGroup` resource is used to create Amazon Inspector resource groups. |
| [`AssessmentTemplateProps`](/v2/docs/aws-cdk-lib.aws_inspector.AssessmentTemplateProps) | Struct | Properties for creating an Inspector Assessment Template TODO: Add properties and remove "props-physical-name:aws-cdk-lib.aws_inspector.AssessmentTemplateProps" from `awslint.json` when implementing the L2 construct. |
| [`CfnAssessmentTargetProps`](/v2/docs/aws-cdk-lib.aws_inspector.CfnAssessmentTargetProps) | Struct | Properties for defining a `CfnAssessmentTarget`. |
| [`CfnAssessmentTemplateProps`](/v2/docs/aws-cdk-lib.aws_inspector.CfnAssessmentTemplateProps) | Struct | Properties for defining a `CfnAssessmentTemplate`. |
| [`CfnResourceGroupProps`](/v2/docs/aws-cdk-lib.aws_inspector.CfnResourceGroupProps) | Struct | Properties for defining a `CfnResourceGroup`. |
| [`IAssessmentTemplate`](/v2/docs/aws-cdk-lib.aws_inspector.IAssessmentTemplate) | Interface | Interface for an Inspector Assessment Template. |
