@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:14.070Z") @Stability(value=Experimental) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIAttributeGroup.Jsii$Default, IAttributeGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
AttributeGroup(software.constructs.Construct scope,
String id,
AttributeGroupProps props) |
protected |
AttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AttributeGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IAttributeGroup |
fromAttributeGroupArn(software.constructs.Construct scope,
String id,
String attributeGroupArn)
(experimental) Imports an attribute group construct that represents an external attribute group.
|
String |
getAttributeGroupArn()
(experimental) The ARN of the attribute group.
|
String |
getAttributeGroupId()
(experimental) The ID of the attribute group.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected AttributeGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected AttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=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.@Stability(value=Experimental) @NotNull public static IAttributeGroup fromAttributeGroupArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull 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.@Stability(value=Experimental) @NotNull public String getAttributeGroupArn()
getAttributeGroupArn in interface IAttributeGroup@Stability(value=Experimental) @NotNull public String getAttributeGroupId()
getAttributeGroupId in interface IAttributeGroupCopyright © 2022. All rights reserved.