All Implemented Interfaces:
IResource, IAttributeGroup,, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:27.951Z") @Stability(Experimental) public class AttributeGroup extends Resource implements IAttributeGroup
(experimental) A Service Catalog AppRegistry Attribute Group.


 AttributeGroup attributeGroup = AttributeGroup.Builder.create(this, "MyFirstAttributeGroup")
         .description("description for my attribute group") // the description is optional,
                 "project", "foo",
                 "team", List.of("member1", "member2", "member3"),
                 "public", false,
                 "stages", Map.of(
                         "alpha", "complete",
                         "beta", "incomplete",
                         "release", "not started")))
  • Constructor Details

    • AttributeGroup

      protected AttributeGroup( objRef)
    • AttributeGroup

      protected AttributeGroup( initializationMode)
    • AttributeGroup

      @Stability(Experimental) public AttributeGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AttributeGroupProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromAttributeGroupArn

      @Stability(Experimental) @NotNull public static IAttributeGroup fromAttributeGroupArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String attributeGroupArn)
      (experimental) Imports an attribute group construct that represents an external attribute group.

      scope - The parent creating construct (usually this). This parameter is required.
      id - The construct's name. This parameter is required.
      attributeGroupArn - the Amazon Resource Name of the existing AppRegistry attribute group. This parameter is required.
    • associateWith

      @Stability(Experimental) public void associateWith(@NotNull IApplication application)
      (experimental) Associate an application with attribute group If the attribute group is already associated, it will ignore duplicate request.

      Specified by:
      associateWith in interface IAttributeGroup
      application - This parameter is required.
    • generateUniqueHash

      @Stability(Experimental) @NotNull protected String generateUniqueHash(@NotNull String resourceAddress)
      (experimental) Create a unique hash.

      resourceAddress - This parameter is required.
    • getAttributeGroupSharePermissionARN

      @Stability(Experimental) @NotNull protected String getAttributeGroupSharePermissionARN(@NotNull ShareOptions shareOptions)
      (experimental) Get the correct permission ARN based on the SharePermission.

      shareOptions - This parameter is required.
    • shareAttributeGroup

      @Stability(Experimental) public void shareAttributeGroup(@NotNull String id, @NotNull ShareOptions shareOptions)
      (experimental) Share the attribute group resource with other IAM entities, accounts, or OUs.

      Specified by:
      shareAttributeGroup in interface IAttributeGroup
      id - This parameter is required.
      shareOptions - This parameter is required.
    • getAttributeGroupArn

      @Stability(Experimental) @NotNull public String getAttributeGroupArn()
      (experimental) The ARN of the attribute group.
      Specified by:
      getAttributeGroupArn in interface IAttributeGroup
    • getAttributeGroupId

      @Stability(Experimental) @NotNull public String getAttributeGroupId()
      (experimental) The ID of the attribute group.
      Specified by:
      getAttributeGroupId in interface IAttributeGroup