1. Packages
  2. AWS
  3. API Docs
  4. connect
  5. UserHierarchyStructure
AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi

aws.connect.UserHierarchyStructure

Explore with Pulumi AI

Provides an Amazon Connect User Hierarchy Structure resource. For more information see Amazon Connect: Getting Started

Example Usage

Basic

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.UserHierarchyStructure("example", {
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    hierarchyStructure: {
        levelOne: {
            name: "levelone",
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.connect.UserHierarchyStructure("example",
    instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    hierarchy_structure={
        "level_one": {
            "name": "levelone",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := connect.NewUserHierarchyStructure(ctx, "example", &connect.UserHierarchyStructureArgs{
			InstanceId: pulumi.String("aaaaaaaa-bbbb-cccc-dddd-111111111111"),
			HierarchyStructure: &connect.UserHierarchyStructureHierarchyStructureArgs{
				LevelOne: &connect.UserHierarchyStructureHierarchyStructureLevelOneArgs{
					Name: pulumi.String("levelone"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Connect.UserHierarchyStructure("example", new()
    {
        InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
        HierarchyStructure = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureArgs
        {
            LevelOne = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs
            {
                Name = "levelone",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.UserHierarchyStructure;
import com.pulumi.aws.connect.UserHierarchyStructureArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new UserHierarchyStructure("example", UserHierarchyStructureArgs.builder()
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .hierarchyStructure(UserHierarchyStructureHierarchyStructureArgs.builder()
                .levelOne(UserHierarchyStructureHierarchyStructureLevelOneArgs.builder()
                    .name("levelone")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:connect:UserHierarchyStructure
    properties:
      instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
      hierarchyStructure:
        levelOne:
          name: levelone
Copy

With Five Levels

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.UserHierarchyStructure("example", {
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    hierarchyStructure: {
        levelOne: {
            name: "levelone",
        },
        levelTwo: {
            name: "leveltwo",
        },
        levelThree: {
            name: "levelthree",
        },
        levelFour: {
            name: "levelfour",
        },
        levelFive: {
            name: "levelfive",
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.connect.UserHierarchyStructure("example",
    instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    hierarchy_structure={
        "level_one": {
            "name": "levelone",
        },
        "level_two": {
            "name": "leveltwo",
        },
        "level_three": {
            "name": "levelthree",
        },
        "level_four": {
            "name": "levelfour",
        },
        "level_five": {
            "name": "levelfive",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := connect.NewUserHierarchyStructure(ctx, "example", &connect.UserHierarchyStructureArgs{
			InstanceId: pulumi.String("aaaaaaaa-bbbb-cccc-dddd-111111111111"),
			HierarchyStructure: &connect.UserHierarchyStructureHierarchyStructureArgs{
				LevelOne: &connect.UserHierarchyStructureHierarchyStructureLevelOneArgs{
					Name: pulumi.String("levelone"),
				},
				LevelTwo: &connect.UserHierarchyStructureHierarchyStructureLevelTwoArgs{
					Name: pulumi.String("leveltwo"),
				},
				LevelThree: &connect.UserHierarchyStructureHierarchyStructureLevelThreeArgs{
					Name: pulumi.String("levelthree"),
				},
				LevelFour: &connect.UserHierarchyStructureHierarchyStructureLevelFourArgs{
					Name: pulumi.String("levelfour"),
				},
				LevelFive: &connect.UserHierarchyStructureHierarchyStructureLevelFiveArgs{
					Name: pulumi.String("levelfive"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Connect.UserHierarchyStructure("example", new()
    {
        InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
        HierarchyStructure = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureArgs
        {
            LevelOne = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs
            {
                Name = "levelone",
            },
            LevelTwo = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelTwoArgs
            {
                Name = "leveltwo",
            },
            LevelThree = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelThreeArgs
            {
                Name = "levelthree",
            },
            LevelFour = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelFourArgs
            {
                Name = "levelfour",
            },
            LevelFive = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelFiveArgs
            {
                Name = "levelfive",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.UserHierarchyStructure;
import com.pulumi.aws.connect.UserHierarchyStructureArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelTwoArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelThreeArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelFourArgs;
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelFiveArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new UserHierarchyStructure("example", UserHierarchyStructureArgs.builder()
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .hierarchyStructure(UserHierarchyStructureHierarchyStructureArgs.builder()
                .levelOne(UserHierarchyStructureHierarchyStructureLevelOneArgs.builder()
                    .name("levelone")
                    .build())
                .levelTwo(UserHierarchyStructureHierarchyStructureLevelTwoArgs.builder()
                    .name("leveltwo")
                    .build())
                .levelThree(UserHierarchyStructureHierarchyStructureLevelThreeArgs.builder()
                    .name("levelthree")
                    .build())
                .levelFour(UserHierarchyStructureHierarchyStructureLevelFourArgs.builder()
                    .name("levelfour")
                    .build())
                .levelFive(UserHierarchyStructureHierarchyStructureLevelFiveArgs.builder()
                    .name("levelfive")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:connect:UserHierarchyStructure
    properties:
      instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
      hierarchyStructure:
        levelOne:
          name: levelone
        levelTwo:
          name: leveltwo
        levelThree:
          name: levelthree
        levelFour:
          name: levelfour
        levelFive:
          name: levelfive
Copy

Create UserHierarchyStructure Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new UserHierarchyStructure(name: string, args: UserHierarchyStructureArgs, opts?: CustomResourceOptions);
@overload
def UserHierarchyStructure(resource_name: str,
                           args: UserHierarchyStructureArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def UserHierarchyStructure(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           hierarchy_structure: Optional[UserHierarchyStructureHierarchyStructureArgs] = None,
                           instance_id: Optional[str] = None)
func NewUserHierarchyStructure(ctx *Context, name string, args UserHierarchyStructureArgs, opts ...ResourceOption) (*UserHierarchyStructure, error)
public UserHierarchyStructure(string name, UserHierarchyStructureArgs args, CustomResourceOptions? opts = null)
public UserHierarchyStructure(String name, UserHierarchyStructureArgs args)
public UserHierarchyStructure(String name, UserHierarchyStructureArgs args, CustomResourceOptions options)
type: aws:connect:UserHierarchyStructure
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. UserHierarchyStructureArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. UserHierarchyStructureArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. UserHierarchyStructureArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. UserHierarchyStructureArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. UserHierarchyStructureArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var userHierarchyStructureResource = new Aws.Connect.UserHierarchyStructure("userHierarchyStructureResource", new()
{
    HierarchyStructure = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureArgs
    {
        LevelFive = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelFiveArgs
        {
            Name = "string",
            Arn = "string",
            Id = "string",
        },
        LevelFour = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelFourArgs
        {
            Name = "string",
            Arn = "string",
            Id = "string",
        },
        LevelOne = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs
        {
            Name = "string",
            Arn = "string",
            Id = "string",
        },
        LevelThree = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelThreeArgs
        {
            Name = "string",
            Arn = "string",
            Id = "string",
        },
        LevelTwo = new Aws.Connect.Inputs.UserHierarchyStructureHierarchyStructureLevelTwoArgs
        {
            Name = "string",
            Arn = "string",
            Id = "string",
        },
    },
    InstanceId = "string",
});
Copy
example, err := connect.NewUserHierarchyStructure(ctx, "userHierarchyStructureResource", &connect.UserHierarchyStructureArgs{
	HierarchyStructure: &connect.UserHierarchyStructureHierarchyStructureArgs{
		LevelFive: &connect.UserHierarchyStructureHierarchyStructureLevelFiveArgs{
			Name: pulumi.String("string"),
			Arn:  pulumi.String("string"),
			Id:   pulumi.String("string"),
		},
		LevelFour: &connect.UserHierarchyStructureHierarchyStructureLevelFourArgs{
			Name: pulumi.String("string"),
			Arn:  pulumi.String("string"),
			Id:   pulumi.String("string"),
		},
		LevelOne: &connect.UserHierarchyStructureHierarchyStructureLevelOneArgs{
			Name: pulumi.String("string"),
			Arn:  pulumi.String("string"),
			Id:   pulumi.String("string"),
		},
		LevelThree: &connect.UserHierarchyStructureHierarchyStructureLevelThreeArgs{
			Name: pulumi.String("string"),
			Arn:  pulumi.String("string"),
			Id:   pulumi.String("string"),
		},
		LevelTwo: &connect.UserHierarchyStructureHierarchyStructureLevelTwoArgs{
			Name: pulumi.String("string"),
			Arn:  pulumi.String("string"),
			Id:   pulumi.String("string"),
		},
	},
	InstanceId: pulumi.String("string"),
})
Copy
var userHierarchyStructureResource = new UserHierarchyStructure("userHierarchyStructureResource", UserHierarchyStructureArgs.builder()
    .hierarchyStructure(UserHierarchyStructureHierarchyStructureArgs.builder()
        .levelFive(UserHierarchyStructureHierarchyStructureLevelFiveArgs.builder()
            .name("string")
            .arn("string")
            .id("string")
            .build())
        .levelFour(UserHierarchyStructureHierarchyStructureLevelFourArgs.builder()
            .name("string")
            .arn("string")
            .id("string")
            .build())
        .levelOne(UserHierarchyStructureHierarchyStructureLevelOneArgs.builder()
            .name("string")
            .arn("string")
            .id("string")
            .build())
        .levelThree(UserHierarchyStructureHierarchyStructureLevelThreeArgs.builder()
            .name("string")
            .arn("string")
            .id("string")
            .build())
        .levelTwo(UserHierarchyStructureHierarchyStructureLevelTwoArgs.builder()
            .name("string")
            .arn("string")
            .id("string")
            .build())
        .build())
    .instanceId("string")
    .build());
Copy
user_hierarchy_structure_resource = aws.connect.UserHierarchyStructure("userHierarchyStructureResource",
    hierarchy_structure={
        "level_five": {
            "name": "string",
            "arn": "string",
            "id": "string",
        },
        "level_four": {
            "name": "string",
            "arn": "string",
            "id": "string",
        },
        "level_one": {
            "name": "string",
            "arn": "string",
            "id": "string",
        },
        "level_three": {
            "name": "string",
            "arn": "string",
            "id": "string",
        },
        "level_two": {
            "name": "string",
            "arn": "string",
            "id": "string",
        },
    },
    instance_id="string")
Copy
const userHierarchyStructureResource = new aws.connect.UserHierarchyStructure("userHierarchyStructureResource", {
    hierarchyStructure: {
        levelFive: {
            name: "string",
            arn: "string",
            id: "string",
        },
        levelFour: {
            name: "string",
            arn: "string",
            id: "string",
        },
        levelOne: {
            name: "string",
            arn: "string",
            id: "string",
        },
        levelThree: {
            name: "string",
            arn: "string",
            id: "string",
        },
        levelTwo: {
            name: "string",
            arn: "string",
            id: "string",
        },
    },
    instanceId: "string",
});
Copy
type: aws:connect:UserHierarchyStructure
properties:
    hierarchyStructure:
        levelFive:
            arn: string
            id: string
            name: string
        levelFour:
            arn: string
            id: string
            name: string
        levelOne:
            arn: string
            id: string
            name: string
        levelThree:
            arn: string
            id: string
            name: string
        levelTwo:
            arn: string
            id: string
            name: string
    instanceId: string
Copy

UserHierarchyStructure Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The UserHierarchyStructure resource accepts the following input properties:

HierarchyStructure This property is required. UserHierarchyStructureHierarchyStructure
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
InstanceId This property is required. string
Specifies the identifier of the hosting Amazon Connect Instance.
HierarchyStructure This property is required. UserHierarchyStructureHierarchyStructureArgs
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
InstanceId This property is required. string
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchyStructure This property is required. UserHierarchyStructureHierarchyStructure
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instanceId This property is required. String
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchyStructure This property is required. UserHierarchyStructureHierarchyStructure
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instanceId This property is required. string
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchy_structure This property is required. UserHierarchyStructureHierarchyStructureArgs
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instance_id This property is required. str
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchyStructure This property is required. Property Map
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instanceId This property is required. String
Specifies the identifier of the hosting Amazon Connect Instance.

Outputs

All input properties are implicitly available as output properties. Additionally, the UserHierarchyStructure resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing UserHierarchyStructure Resource

Get an existing UserHierarchyStructure resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: UserHierarchyStructureState, opts?: CustomResourceOptions): UserHierarchyStructure
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        hierarchy_structure: Optional[UserHierarchyStructureHierarchyStructureArgs] = None,
        instance_id: Optional[str] = None) -> UserHierarchyStructure
func GetUserHierarchyStructure(ctx *Context, name string, id IDInput, state *UserHierarchyStructureState, opts ...ResourceOption) (*UserHierarchyStructure, error)
public static UserHierarchyStructure Get(string name, Input<string> id, UserHierarchyStructureState? state, CustomResourceOptions? opts = null)
public static UserHierarchyStructure get(String name, Output<String> id, UserHierarchyStructureState state, CustomResourceOptions options)
resources:  _:    type: aws:connect:UserHierarchyStructure    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
HierarchyStructure UserHierarchyStructureHierarchyStructure
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
InstanceId string
Specifies the identifier of the hosting Amazon Connect Instance.
HierarchyStructure UserHierarchyStructureHierarchyStructureArgs
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
InstanceId string
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchyStructure UserHierarchyStructureHierarchyStructure
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instanceId String
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchyStructure UserHierarchyStructureHierarchyStructure
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instanceId string
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchy_structure UserHierarchyStructureHierarchyStructureArgs
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instance_id str
Specifies the identifier of the hosting Amazon Connect Instance.
hierarchyStructure Property Map
A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below.
instanceId String
Specifies the identifier of the hosting Amazon Connect Instance.

Supporting Types

UserHierarchyStructureHierarchyStructure
, UserHierarchyStructureHierarchyStructureArgs

LevelFive UserHierarchyStructureHierarchyStructureLevelFive

A block that defines the details of level five. The level block is documented below.

Each level block supports the following arguments:

LevelFour UserHierarchyStructureHierarchyStructureLevelFour
A block that defines the details of level four. The level block is documented below.
LevelOne UserHierarchyStructureHierarchyStructureLevelOne
A block that defines the details of level one. The level block is documented below.
LevelThree UserHierarchyStructureHierarchyStructureLevelThree
A block that defines the details of level three. The level block is documented below.
LevelTwo UserHierarchyStructureHierarchyStructureLevelTwo
A block that defines the details of level two. The level block is documented below.
LevelFive UserHierarchyStructureHierarchyStructureLevelFive

A block that defines the details of level five. The level block is documented below.

Each level block supports the following arguments:

LevelFour UserHierarchyStructureHierarchyStructureLevelFour
A block that defines the details of level four. The level block is documented below.
LevelOne UserHierarchyStructureHierarchyStructureLevelOne
A block that defines the details of level one. The level block is documented below.
LevelThree UserHierarchyStructureHierarchyStructureLevelThree
A block that defines the details of level three. The level block is documented below.
LevelTwo UserHierarchyStructureHierarchyStructureLevelTwo
A block that defines the details of level two. The level block is documented below.
levelFive UserHierarchyStructureHierarchyStructureLevelFive

A block that defines the details of level five. The level block is documented below.

Each level block supports the following arguments:

levelFour UserHierarchyStructureHierarchyStructureLevelFour
A block that defines the details of level four. The level block is documented below.
levelOne UserHierarchyStructureHierarchyStructureLevelOne
A block that defines the details of level one. The level block is documented below.
levelThree UserHierarchyStructureHierarchyStructureLevelThree
A block that defines the details of level three. The level block is documented below.
levelTwo UserHierarchyStructureHierarchyStructureLevelTwo
A block that defines the details of level two. The level block is documented below.
levelFive UserHierarchyStructureHierarchyStructureLevelFive

A block that defines the details of level five. The level block is documented below.

Each level block supports the following arguments:

levelFour UserHierarchyStructureHierarchyStructureLevelFour
A block that defines the details of level four. The level block is documented below.
levelOne UserHierarchyStructureHierarchyStructureLevelOne
A block that defines the details of level one. The level block is documented below.
levelThree UserHierarchyStructureHierarchyStructureLevelThree
A block that defines the details of level three. The level block is documented below.
levelTwo UserHierarchyStructureHierarchyStructureLevelTwo
A block that defines the details of level two. The level block is documented below.
level_five UserHierarchyStructureHierarchyStructureLevelFive

A block that defines the details of level five. The level block is documented below.

Each level block supports the following arguments:

level_four UserHierarchyStructureHierarchyStructureLevelFour
A block that defines the details of level four. The level block is documented below.
level_one UserHierarchyStructureHierarchyStructureLevelOne
A block that defines the details of level one. The level block is documented below.
level_three UserHierarchyStructureHierarchyStructureLevelThree
A block that defines the details of level three. The level block is documented below.
level_two UserHierarchyStructureHierarchyStructureLevelTwo
A block that defines the details of level two. The level block is documented below.
levelFive Property Map

A block that defines the details of level five. The level block is documented below.

Each level block supports the following arguments:

levelFour Property Map
A block that defines the details of level four. The level block is documented below.
levelOne Property Map
A block that defines the details of level one. The level block is documented below.
levelThree Property Map
A block that defines the details of level three. The level block is documented below.
levelTwo Property Map
A block that defines the details of level two. The level block is documented below.

UserHierarchyStructureHierarchyStructureLevelFive
, UserHierarchyStructureHierarchyStructureLevelFiveArgs

Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.
name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
arn string
The Amazon Resource Name (ARN) of the hierarchy level.
id string
The identifier of the hierarchy level.
name This property is required. str
The name of the user hierarchy level. Must not be more than 50 characters.
arn str
The Amazon Resource Name (ARN) of the hierarchy level.
id str
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.

UserHierarchyStructureHierarchyStructureLevelFour
, UserHierarchyStructureHierarchyStructureLevelFourArgs

Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.
name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
arn string
The Amazon Resource Name (ARN) of the hierarchy level.
id string
The identifier of the hierarchy level.
name This property is required. str
The name of the user hierarchy level. Must not be more than 50 characters.
arn str
The Amazon Resource Name (ARN) of the hierarchy level.
id str
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.

UserHierarchyStructureHierarchyStructureLevelOne
, UserHierarchyStructureHierarchyStructureLevelOneArgs

Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.
name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
arn string
The Amazon Resource Name (ARN) of the hierarchy level.
id string
The identifier of the hierarchy level.
name This property is required. str
The name of the user hierarchy level. Must not be more than 50 characters.
arn str
The Amazon Resource Name (ARN) of the hierarchy level.
id str
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.

UserHierarchyStructureHierarchyStructureLevelThree
, UserHierarchyStructureHierarchyStructureLevelThreeArgs

Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.
name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
arn string
The Amazon Resource Name (ARN) of the hierarchy level.
id string
The identifier of the hierarchy level.
name This property is required. str
The name of the user hierarchy level. Must not be more than 50 characters.
arn str
The Amazon Resource Name (ARN) of the hierarchy level.
id str
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.

UserHierarchyStructureHierarchyStructureLevelTwo
, UserHierarchyStructureHierarchyStructureLevelTwoArgs

Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
Name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
Arn string
The Amazon Resource Name (ARN) of the hierarchy level.
Id string
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.
name This property is required. string
The name of the user hierarchy level. Must not be more than 50 characters.
arn string
The Amazon Resource Name (ARN) of the hierarchy level.
id string
The identifier of the hierarchy level.
name This property is required. str
The name of the user hierarchy level. Must not be more than 50 characters.
arn str
The Amazon Resource Name (ARN) of the hierarchy level.
id str
The identifier of the hierarchy level.
name This property is required. String
The name of the user hierarchy level. Must not be more than 50 characters.
arn String
The Amazon Resource Name (ARN) of the hierarchy level.
id String
The identifier of the hierarchy level.

Import

Using pulumi import, import Amazon Connect User Hierarchy Structures using the instance_id. For example:

$ pulumi import aws:connect/userHierarchyStructure:UserHierarchyStructure example f1288a1f-6193-445a-b47e-af739b2
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.