Interface AttributeGroupAssociationProps

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-27T17:02:12.494Z") @Stability(Experimental) public interface AttributeGroupAssociationProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a Service Catalog AppRegistry Attribute Group.

Example:

 import software.amazon.awscdk.*;
 App app = new App();
 ApplicationAssociator associatedApp = ApplicationAssociator.Builder.create(app, "AssociatedApplication")
         .applications(List.of(TargetApplication.createApplicationStack(CreateTargetApplicationOptions.builder()
                 .applicationName("MyAssociatedApplication")
                 // 'Application containing stacks deployed via CDK.' is the default
                 .applicationDescription("Associated Application description")
                 .stackName("MyAssociatedApplicationStack")
                 // AWS Account and Region that are implied by the current CLI configuration is the default
                 .env(Environment.builder().account("123456789012").region("us-east-1").build())
                 .build())))
         .build();
 // Associate application to the attribute group.
 associatedApp.appRegistryApplication.addAttributeGroup("MyAttributeGroup", AttributeGroupAssociationProps.builder()
         .attributeGroupName("MyAttributeGroupName")
         .description("Test attribute group")
         .attributes(Map.of())
         .build());
 
  • Method Details

    • getAttributeGroupName

      @Stability(Experimental) @NotNull String getAttributeGroupName()
      (experimental) Name for attribute group.
    • getAttributes

      @Stability(Experimental) @NotNull Map<String,Object> getAttributes()
      (experimental) A JSON of nested key-value pairs that represent the attributes in the group.

      Attributes maybe an empty JSON '{}', but must be explicitly stated.

    • getDescription

      @Stability(Experimental) @Nullable default String getDescription()
      (experimental) Description for attribute group.

      Default: - No description provided

    • builder

      @Stability(Experimental) static AttributeGroupAssociationProps.Builder builder()
      Returns:
      a AttributeGroupAssociationProps.Builder of AttributeGroupAssociationProps