Class AttributeGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.servicecatalogappregistry.alpha.AttributeGroup
- All Implemented Interfaces:
IEnvironmentAware,IResource,IAttributeGroup,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:27.583Z")
@Stability(Experimental)
public class AttributeGroup
extends Resource
implements IAttributeGroup
(experimental) A Service Catalog AppRegistry Attribute Group.
Example:
AttributeGroup attributeGroup = AttributeGroup.Builder.create(this, "MyFirstAttributeGroup")
.attributeGroupName("MyFirstAttributeGroupName")
.description("description for my attribute group") // the description is optional,
.attributes(Map.of(
"project", "foo",
"team", List.of("member1", "member2", "member3"),
"public", false,
"stages", Map.of(
"alpha", "complete",
"beta", "incomplete",
"release", "not started")))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forAttributeGroup.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.servicecatalogappregistry.alpha.IAttributeGroup
IAttributeGroup.Jsii$Default, IAttributeGroup.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAttributeGroup(software.amazon.jsii.JsiiObjectRef objRef) AttributeGroup(software.constructs.Construct scope, String id, AttributeGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionvoidassociateWith(IApplication application) (experimental) Associate an application with attribute group If the attribute group is already associated, it will ignore duplicate request.static IAttributeGroupfromAttributeGroupArn(software.constructs.Construct scope, String id, String attributeGroupArn) (experimental) Imports an attribute group construct that represents an external attribute group.protected StringgenerateUniqueHash(String resourceAddress) (experimental) Create a unique hash.(experimental) The ARN of the attribute group.(experimental) The ID of the attribute group.protected StringgetAttributeGroupSharePermissionARN(ShareOptions shareOptions) (experimental) Get the correct permission ARN based on the SharePermission.voidshareAttributeGroup(String id, ShareOptions shareOptions) (experimental) Share the attribute group resource with other IAM entities, accounts, or OUs.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
AttributeGroup
protected AttributeGroup(software.amazon.jsii.JsiiObjectRef objRef) -
AttributeGroup
protected AttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AttributeGroup
@Stability(Experimental) public AttributeGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AttributeGroupProps props) - Parameters:
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.- Parameters:
scope- The parent creating construct (usuallythis). 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
(experimental) Associate an application with attribute group If the attribute group is already associated, it will ignore duplicate request.- Specified by:
associateWithin interfaceIAttributeGroup- Parameters:
application- This parameter is required.
-
generateUniqueHash
@Stability(Experimental) @NotNull protected String generateUniqueHash(@NotNull String resourceAddress) (experimental) Create a unique hash.- Parameters:
resourceAddress- This parameter is required.
-
getAttributeGroupArn
(experimental) The ARN of the attribute group.- Specified by:
getAttributeGroupArnin interfaceIAttributeGroup
-
getAttributeGroupId
(experimental) The ID of the attribute group.- Specified by:
getAttributeGroupIdin interfaceIAttributeGroup
-