Interface CfnGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:30.150Z") @Stability(Stable) public interface CfnGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnGroup.

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.resourcegroups.*;
 CfnGroupProps cfnGroupProps = CfnGroupProps.builder()
         .name("name")
         // the properties below are optional
         .configuration(List.of(ConfigurationItemProperty.builder()
                 .parameters(List.of(ConfigurationParameterProperty.builder()
                         .name("name")
                         .values(List.of("values"))
                         .build()))
                 .type("type")
                 .build()))
         .description("description")
         .resourceQuery(ResourceQueryProperty.builder()
                 .query(QueryProperty.builder()
                         .resourceTypeFilters(List.of("resourceTypeFilters"))
                         .stackIdentifier("stackIdentifier")
                         .tagFilters(List.of(TagFilterProperty.builder()
                                 .key("key")
                                 .values(List.of("values"))
                                 .build()))
                         .build())
                 .type("type")
                 .build())
         .resources(List.of("resources"))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnGroupProps
    static final class 
    An implementation for CfnGroupProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Object
    The service configuration currently associated with the resource group and in effect for the members of the resource group.
    default String
    The description of the resource group.
    The name of a resource group.
    default Object
    The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group.
    default List<String>
    A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.
    default List<CfnTag>
    The tag key and value pairs that are attached to the resource group.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson