Amazon Inspector Construct Library
This module is part of the AWS Cloud Development Kit project.
ts
import * as inspector from 'aws-cdk-lib/aws-inspector';
python
import aws_cdk.aws_inspector as inspector
java
import software.amazon.awscdk.services.inspector.*;
csharp
using Amazon.CDK.AWS.Inspector;
go
import inspector "github.com/aws/aws-cdk-go/awscdk"
There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:
- Search Construct Hub for Inspector construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::Inspector resources directly.
There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 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.
(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)
Types
| Name | Kind | Summary |
|---|---|---|
AssessmentTemplate | Construct (L2) | An Amazon Inspector assessment template. |
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 | 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 | Construct (L1) | The AWS::Inspector::ResourceGroup resource is used to create Amazon Inspector resource groups. |
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 | Struct | Properties for defining a CfnAssessmentTarget. |
CfnAssessmentTemplateProps | Struct | Properties for defining a CfnAssessmentTemplate. |
CfnResourceGroupProps | Struct | Properties for defining a CfnResourceGroup. |
IAssessmentTemplate | Interface | Interface for an Inspector Assessment Template. |