Skip to content
v2.275.0

CfnResourceSetProps Struct ​

Properties for defining a CfnResourceSet.

Example ​

ts
// 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 ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description of the resource set.
namestringnamestrnameStringNamestringName*stringrequired#
The descriptive name of the resource set.

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

resourcesoptionalstring[]resourcesoptionaltyping.List[str]resourcesoptionalList<String>Resourcesoptionalstring[]Resourcesoptional*[]*string#
resourceTypeListstring[]resource_type_listtyping.List[str]resourceTypeListList<String>ResourceTypeListstring[]ResourceTypeList*[]*stringrequired#
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.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#