aws-cdk-lib.aws_fms.CfnResourceSetProps

interface CfnResourceSetProps

LanguageType name
.NETAmazon.CDK.AWS.FMS.CfnResourceSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsfms#CfnResourceSetProps
Javasoftware.amazon.awscdk.services.fms.CfnResourceSetProps
Pythonaws_cdk.aws_fms.CfnResourceSetProps
TypeScript aws-cdk-lib » aws_fms » CfnResourceSetProps

Properties for defining a CfnResourceSet.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fms as fms } from 'aws-cdk-lib';
const cfnResourceSetProps: fms.CfnResourceSetProps = {
  name: 'name',
  resourceTypeList: ['resourceTypeList'],

  // the properties below are optional
  description: 'description',
  resources: ['resources'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringThe descriptive name of the resource set.
resourceTypeListstring[]Determines the resources that can be associated to the resource set.
description?stringA description of the resource set.
resources?string[]The resources included in the resource set.
tags?CfnTag[]A collection of key:value pairs associated with a resource set.

name

Type: string

The descriptive name of the resource set.

You can't change the name of a resource set after you create it.


resourceTypeList

Type: string[]

Determines the resources that can be associated to the resource set.

Depending on your setting for max results and the number of resource sets, a single call might not return the full list.


description?

Type: string (optional)

A description of the resource set.


resources?

Type: string[] (optional)

The resources included in the resource set.


tags?

Type: CfnTag[] (optional)

A collection of key:value pairs associated with a resource set.

The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.