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
Constructs (L2)
AssessmentTemplateConstruct (L2)
An Amazon Inspector assessment template.
Constructs (L1)
CfnAssessmentTargetConstruct (L1)
TheAWS::Inspector::AssessmentTargetresource is used to create Amazon Inspector assessment targets, which specify the Amazon EC2 instances that will be analyzed during an assessment run.CfnAssessmentTemplateConstruct (L1)
TheAWS::Inspector::AssessmentTemplateresource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.CfnResourceGroupConstruct (L1)
TheAWS::Inspector::ResourceGroupresource is used to create Amazon Inspector resource groups.
Structs
AssessmentTemplatePropsStruct
Properties for creating an Inspector Assessment Template TODO: Add properties and remove "props-physical-name:aws-cdk-lib.aws_inspector.AssessmentTemplateProps" fromawslint.jsonwhen implementing the L2 construct.CfnAssessmentTargetPropsStruct
Properties for defining aCfnAssessmentTarget.CfnAssessmentTemplatePropsStruct
Properties for defining aCfnAssessmentTemplate.CfnResourceGroupPropsStruct
Properties for defining aCfnResourceGroup.
Interfaces
IAssessmentTemplateInterface
Interface for an Inspector Assessment Template.