Interface CfnResourceSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.804Z")
@Stability(Stable)
public interface CfnResourceSetProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.fms.*;
CfnResourceSetProps cfnResourceSetProps = CfnResourceSetProps.builder()
.name("name")
.resourceTypeList(List.of("resourceTypeList"))
// the properties below are optional
.description("description")
.resources(List.of("resources"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourceSetPropsstatic final classAn implementation forCfnResourceSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceSetProps.Builderbuilder()default StringA description of the resource set.getName()The descriptive name of the resource set.The resources included in the resource set.Determines the resources that can be associated to the resource set.getTags()A collection of key:value pairs associated with a resource set.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The descriptive name of the resource set.You can't change the name of a resource set after you create it.
-
getResourceTypeList
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.
-
getDescription
A description of the resource set. -
getResources
The resources included in the resource set. -
getTags
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.
-
builder
- Returns:
- a
CfnResourceSetProps.BuilderofCfnResourceSetProps
-