AWS::Inspector::ResourceGroupThe `AWS::Inspector::ResourceGroup` resource is used to create Amazon Inspector resource groups. A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
import { CfnResourceGroup } from 'aws-cdk-lib/aws-inspector';Or use the module namespace:
import * as inspector from 'aws-cdk-lib/aws-inspector';
// inspector.CfnResourceGroupConfiguration passed to the constructor as CfnResourceGroupProps.
resourceGroupTagsRequiredIResolvable | IResolvable | CfnTag[]The tags (key and value pairs) that will be associated with the resource group. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-inspectorAWS::Inspector::ResourceGroup