interface CfnResourceSetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.FMS.CfnResourceSetProps |
![]() | software.amazon.awscdk.services.fms.CfnResourceSetProps |
![]() | aws_cdk.aws_fms.CfnResourceSetProps |
![]() | @aws-cdk/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 * as fms from '@aws-cdk/aws-fms';
const cfnResourceSetProps: fms.CfnResourceSetProps = {
name: 'name',
resourceTypeList: ['resourceTypeList'],
// the properties below are optional
description: 'description',
resources: ['resources'],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
name | string | The descriptive name of the resource set. |
resource | string[] | Determines the resources that can be associated to the resource set. |
description? | string | A description of the resource set. |
resources? | string[] | The resources included in the resource set. |
tags? | Cfn [] | 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:
Cfn
[]
(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.