CfnResourceSetProps
- class aws_cdk.aws_fms.CfnResourceSetProps(*, name, resource_type_list, description=None, resources=None, tags=None)
Bases:
object
Properties for defining a
CfnResourceSet
.- Parameters:
name (
str
) – The descriptive name of the resource set. You can’t change the name of a resource set after you create it.resource_type_list (
Sequence
[str
]) – 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 (
Optional
[str
]) – A description of the resource set.resources (
Optional
[Sequence
[str
]]) – The resources included in the resource set.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – 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.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-resourceset.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_fms as fms cfn_resource_set_props = fms.CfnResourceSetProps( name="name", resource_type_list=["resourceTypeList"], # the properties below are optional description="description", resources=["resources"], tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
A description of the resource set.
- name
The descriptive name of the resource set.
You can’t change the name of a resource set after you create it.
- resource_type_list
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.
- resources
The resources included in the resource set.
- tags
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.
- Link:
- Type:
A collection of key