CfnResourceGroupProps

class aws_cdk.aws_inspector.CfnResourceGroupProps(*, resource_group_tags)

Bases: object

Properties for defining a CfnResourceGroup.

Parameters

resource_group_tags (Union[IResolvable, Sequence[Union[CfnTag, Dict[str, Any], IResolvable]]]) – The tags (key and value pairs) that will be associated with the resource group. For more information, see Tag .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-resourcegroup.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_inspector as inspector

cfn_resource_group_props = inspector.CfnResourceGroupProps(
    resource_group_tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

resource_group_tags

The tags (key and value pairs) that will be associated with the resource group.

For more information, see Tag .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-resourcegroup.html#cfn-inspector-resourcegroup-resourcegrouptags

Return type

Union[IResolvable, List[Union[CfnTag, IResolvable]]]