Class CfnGroupingConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.applicationsignals.CfnGroupingConfiguration
All Implemented Interfaces:
IInspectable, IGroupingConfigurationRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-10-14T12:28:04.772Z") @Stability(Stable) public class CfnGroupingConfiguration extends CfnResource implements IInspectable, IGroupingConfigurationRef
A structure that contains the complete grouping configuration for an account, including all defined grouping attributes and metadata about when it was last updated.

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.applicationsignals.*;
 CfnGroupingConfiguration cfnGroupingConfiguration = CfnGroupingConfiguration.Builder.create(this, "MyCfnGroupingConfiguration")
         .groupingAttributeDefinitions(List.of(GroupingAttributeDefinitionProperty.builder()
                 .groupingName("groupingName")
                 .groupingSourceKeys(List.of("groupingSourceKeys"))
                 // the properties below are optional
                 .defaultGroupingValue("defaultGroupingValue")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnGroupingConfiguration

      protected CfnGroupingConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnGroupingConfiguration

      protected CfnGroupingConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnGroupingConfiguration

      @Stability(Stable) public CfnGroupingConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGroupingConfigurationProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrAccountId

      @Stability(Stable) @NotNull public String getAttrAccountId()
      The identifier for the specified AWS account.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when this grouping configuration was last updated.

      When used in a raw HTTP Query API, it is formatted as epoch time in seconds.

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getGroupingConfigurationRef

      @Stability(Stable) @NotNull public GroupingConfigurationReference getGroupingConfigurationRef()
      A reference to a GroupingConfiguration resource.
      Specified by:
      getGroupingConfigurationRef in interface IGroupingConfigurationRef
    • getGroupingAttributeDefinitions

      @Stability(Stable) @NotNull public Object getGroupingAttributeDefinitions()
      An array of grouping attribute definitions that specify how services should be grouped based on various attributes and source keys.
    • setGroupingAttributeDefinitions

      @Stability(Stable) public void setGroupingAttributeDefinitions(@NotNull IResolvable value)
      An array of grouping attribute definitions that specify how services should be grouped based on various attributes and source keys.
    • setGroupingAttributeDefinitions

      @Stability(Stable) public void setGroupingAttributeDefinitions(@NotNull List<Object> value)
      An array of grouping attribute definitions that specify how services should be grouped based on various attributes and source keys.