AWS::FMS::ResourceSet

A set of resources to include in a policy.

Syntax

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

JSON

{ "Type" : "AWS::FMS::ResourceSet", "Properties" : { "Description" : String, "Name" : String, "Resources" : [ String, ... ], "ResourceTypeList" : [ String, ... ], "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::FMS::ResourceSet Properties: Description: String Name: String Resources: - String ResourceTypeList: - String Tags: - Tag

Properties

Description

A description of the resource set.

Required: No

Type: String

Maximum: 256

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Update requires: No interruption

Name

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

Minimum: 1

Maximum: 128

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Update requires: No interruption

Resources

The resources included in the resource set.

Required: No

Type: List of String

Update requires: No interruption

ResourceTypeList

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: List of String

Update requires: No interruption

Tags

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.

Required: No

Type: List of Tag

Update requires: No interruption

Return values

Ref

The Ref for this resource returns the ResourceSet.Id.

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the resource physical ID, such as 1234a1a-a1b1-12a1-abcd-a123b123456.

For more information about using the Ref function, see Ref.

Fn::GetAtt

Id

The ID of the resource set.