

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::FMS::ResourceSet
<a name="aws-resource-fms-resourceset"></a>

A set of resources to include in a policy.

## Syntax
<a name="aws-resource-fms-resourceset-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-fms-resourceset-syntax.json"></a>

```
{
  "Type" : "AWS::FMS::ResourceSet",
  "Properties" : {
      "[Description](#cfn-fms-resourceset-description)" : String,
      "[Name](#cfn-fms-resourceset-name)" : String,
      "[Resources](#cfn-fms-resourceset-resources)" : [ String, ... ],
      "[ResourceTypeList](#cfn-fms-resourceset-resourcetypelist)" : [ String, ... ],
      "[Tags](#cfn-fms-resourceset-tags)" : [ Tag, ... ]
    }
}
```

### YAML
<a name="aws-resource-fms-resourceset-syntax.yaml"></a>

```
Type: AWS::FMS::ResourceSet
Properties:
  [Description](#cfn-fms-resourceset-description): String
  [Name](#cfn-fms-resourceset-name): String
  [Resources](#cfn-fms-resourceset-resources): 
    - String
  [ResourceTypeList](#cfn-fms-resourceset-resourcetypelist): 
    - String
  [Tags](#cfn-fms-resourceset-tags): 
    - Tag
```

## Properties
<a name="aws-resource-fms-resourceset-properties"></a>

`Description`  <a name="cfn-fms-resourceset-description"></a>
A description of the resource set.  
*Required*: No  
*Type*: String  
*Pattern*: `^([a-zA-Z0-9_.:/=+\-@\s]*)$`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-fms-resourceset-name"></a>
The descriptive name of the resource set. You can't change the name of a resource set after you create it.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([a-zA-Z0-9_.:/=+\-@\s]+)$`  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Resources`  <a name="cfn-fms-resourceset-resources"></a>
Property description not available.  
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ResourceTypeList`  <a name="cfn-fms-resourceset-resourcetypelist"></a>
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.  
*Required*: Yes  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-fms-resourceset-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-fms-resourceset-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-fms-resourceset-return-values"></a>

### Ref
<a name="aws-resource-fms-resourceset-return-values-ref"></a>

### Fn::GetAtt
<a name="aws-resource-fms-resourceset-return-values-fn--getatt"></a>

#### 
<a name="aws-resource-fms-resourceset-return-values-fn--getatt-fn--getatt"></a>

`Id`  <a name="Id-fn::getatt"></a>
A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

# AWS::FMS::ResourceSet Tag
<a name="aws-properties-fms-resourceset-tag"></a>

A collection of key:value pairs associated with an AWS resource. 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. 

## Syntax
<a name="aws-properties-fms-resourceset-tag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-fms-resourceset-tag-syntax.json"></a>

```
{
  "[Key](#cfn-fms-resourceset-tag-key)" : String,
  "[Value](#cfn-fms-resourceset-tag-value)" : String
}
```

### YAML
<a name="aws-properties-fms-resourceset-tag-syntax.yaml"></a>

```
  [Key](#cfn-fms-resourceset-tag-key): String
  [Value](#cfn-fms-resourceset-tag-value): String
```

## Properties
<a name="aws-properties-fms-resourceset-tag-properties"></a>

`Key`  <a name="cfn-fms-resourceset-tag-key"></a>
Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([^\s]*)$`  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-fms-resourceset-tag-value"></a>
Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.   
*Required*: Yes  
*Type*: String  
*Pattern*: `^([^\s]*)$`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)