Class CfnUserHierarchyGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connect.CfnUserHierarchyGroup
- All Implemented Interfaces:
IInspectable,IUserHierarchyGroupRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:33.680Z")
@Stability(Stable)
public class CfnUserHierarchyGroup
extends CfnResource
implements IInspectable, IUserHierarchyGroupRef, ITaggableV2
Specifies a new user hierarchy group.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
CfnUserHierarchyGroup cfnUserHierarchyGroup = CfnUserHierarchyGroup.Builder.create(this, "MyCfnUserHierarchyGroup")
.instanceArn("instanceArn")
.name("name")
// the properties below are optional
.parentGroupArn("parentGroupArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.connect.IUserHierarchyGroupRef
IUserHierarchyGroupRef.Jsii$Default, IUserHierarchyGroupRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnUserHierarchyGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnUserHierarchyGroup(software.amazon.jsii.JsiiObjectRef objRef) CfnUserHierarchyGroup(software.constructs.Construct scope, String id, CfnUserHierarchyGroupProps props) Create a newAWS::Connect::UserHierarchyGroup. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the user hierarchy group.Tag Manager which manages the tags for this resource.The Amazon Resource Name (ARN) of the user hierarchy group.getName()The name of the user hierarchy group.The Amazon Resource Name (ARN) of the parent group.getTags()An array of key-value pairs to apply to this resource.A reference to a UserHierarchyGroup resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnUserHierarchyGroup.renderProperties(Map<String, Object> props) voidsetInstanceArn(String value) The Amazon Resource Name (ARN) of the user hierarchy group.voidThe name of the user hierarchy group.voidsetParentGroupArn(String value) The Amazon Resource Name (ARN) of the parent group.voidAn array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnUserHierarchyGroup
protected CfnUserHierarchyGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnUserHierarchyGroup
protected CfnUserHierarchyGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnUserHierarchyGroup
@Stability(Stable) public CfnUserHierarchyGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnUserHierarchyGroupProps props) Create a newAWS::Connect::UserHierarchyGroup.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForUserHierarchyGroup
@Stability(Stable) @NotNull public static String arnForUserHierarchyGroup(@NotNull IUserHierarchyGroupRef resource) - Parameters:
resource- This parameter is required.
-
isCfnUserHierarchyGroup
Checks whether the given object is a CfnUserHierarchyGroup.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrUserHierarchyGroupArn
The Amazon Resource Name (ARN) of the user hierarchy group. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getUserHierarchyGroupRef
A reference to a UserHierarchyGroup resource.- Specified by:
getUserHierarchyGroupRefin interfaceIUserHierarchyGroupRef
-
getInstanceArn
The Amazon Resource Name (ARN) of the user hierarchy group. -
setInstanceArn
The Amazon Resource Name (ARN) of the user hierarchy group. -
getName
The name of the user hierarchy group. -
setName
The name of the user hierarchy group. -
getParentGroupArn
The Amazon Resource Name (ARN) of the parent group. -
setParentGroupArn
The Amazon Resource Name (ARN) of the parent group. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-