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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The descriptive name of the resource set.

      You can't change the name of a resource set after you create it.

    • getResourceTypeList

      @Stability(Stable) @NotNull List<String> 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

      @Stability(Stable) @Nullable default String getDescription()
      A description of the resource set.
    • getResources

      @Stability(Stable) @Nullable default List<String> getResources()
      The resources included in the resource set.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> 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

      @Stability(Stable) static CfnResourceSetProps.Builder builder()
      Returns:
      a CfnResourceSetProps.Builder of CfnResourceSetProps