AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Inspector::ResourceGroup

CfnResourceGroup

The `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

import { CfnResourceGroup } from 'aws-cdk-lib/aws-inspector';

Or use the module namespace:

import * as inspector from 'aws-cdk-lib/aws-inspector';
// inspector.CfnResourceGroup

Properties

Configuration passed to the constructor as CfnResourceGroupProps.

resourceGroupTagsRequired
IResolvable | 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) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-inspector
CFN TypeAWS::Inspector::ResourceGroup
Properties1

External Links