@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:25.787Z") public class AttributeGroup extends Resource implements IAttributeGroup
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();
Modifier and Type | Class and Description |
---|---|
static class |
AttributeGroup.Builder
(experimental) A fluent builder for
AttributeGroup . |
IAttributeGroup.Jsii$Default, IAttributeGroup.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
AttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AttributeGroup(software.amazon.jsii.JsiiObjectRef objRef) |
|
AttributeGroup(software.constructs.Construct scope,
java.lang.String id,
AttributeGroupProps props) |
Modifier and Type | Method and Description |
---|---|
static IAttributeGroup |
fromAttributeGroupArn(software.constructs.Construct scope,
java.lang.String id,
java.lang.String attributeGroupArn)
(experimental) Imports an attribute group construct that represents an external attribute group.
|
java.lang.String |
getAttributeGroupArn()
(experimental) The ARN of the attribute group.
|
java.lang.String |
getAttributeGroupId()
(experimental) The ID of the attribute group.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected AttributeGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected AttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public AttributeGroup(software.constructs.Construct scope, java.lang.String id, AttributeGroupProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IAttributeGroup fromAttributeGroupArn(software.constructs.Construct scope, java.lang.String id, java.lang.String attributeGroupArn)
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.public java.lang.String getAttributeGroupArn()
getAttributeGroupArn
in interface IAttributeGroup
public java.lang.String getAttributeGroupId()
getAttributeGroupId
in interface IAttributeGroup