# AWS::Connect::UserHierarchyGroup Resource Type definition for AWS::Connect::UserHierarchyGroup ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "AWS::Connect::UserHierarchyGroup",
    "Properties" : {
        "InstanceArn" : String,
        "ParentGroupArn" : String,
        "Name" : String
    }
}
### YAML
Type: AWS::Connect::UserHierarchyGroup
Properties:
    InstanceArn: String
    ParentGroupArn: String
    Name: String
## Properties #### InstanceArn The identifier of the Amazon Connect instance. _Required_: Yes _Type_: String _Pattern_: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### ParentGroupArn The Amazon Resource Name (ARN) for the user hierarchy group. _Required_: No _Type_: String _Pattern_: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/agent-group/[-a-zA-Z0-9]*$ _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Name The name of the user hierarchy group. _Required_: Yes _Type_: String _Minimum_: 1 _Maximum_: 100 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the UserHierarchyGroupArn. ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### UserHierarchyGroupArn The Amazon Resource Name (ARN) for the user hierarchy group.