1. Packages
  2. AWS Classic
  3. API Docs
  4. connect
  5. UserHierarchyStructure

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.connect.UserHierarchyStructure

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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",
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.connect.UserHierarchyStructure("example",
        instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
        hierarchy_structure={
            "levelOne": {
                "name": "levelone",
            },
        })
    
    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
    	})
    }
    
    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",
                },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      example:
        type: aws:connect:UserHierarchyStructure
        properties:
          instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
          hierarchyStructure:
            levelOne:
              name: levelone
    

    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",
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.connect.UserHierarchyStructure("example",
        instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
        hierarchy_structure={
            "levelOne": {
                "name": "levelone",
            },
            "levelTwo": {
                "name": "leveltwo",
            },
            "levelThree": {
                "name": "levelthree",
            },
            "levelFour": {
                "name": "levelfour",
            },
            "levelFive": {
                "name": "levelfive",
            },
        })
    
    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
    	})
    }
    
    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",
                },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 string
    The unique name of the resource.
    args UserHierarchyStructureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args UserHierarchyStructureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserHierarchyStructureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    user_hierarchy_structure_resource = aws.connect.UserHierarchyStructure("userHierarchyStructureResource",
        hierarchy_structure={
            "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",
            },
        },
        instance_id="string")
    
    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",
    });
    
    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
    

    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

    The UserHierarchyStructure resource accepts the following input properties:

    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.

    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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.
    name string
    arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    id string
    The identifier of the hierarchy level.
    name str
    arn str
    The Amazon Resource Name (ARN) of the hierarchy level.
    id str
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.

    UserHierarchyStructureHierarchyStructureLevelFour, UserHierarchyStructureHierarchyStructureLevelFourArgs

    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.
    name string
    arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    id string
    The identifier of the hierarchy level.
    name str
    arn str
    The Amazon Resource Name (ARN) of the hierarchy level.
    id str
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.

    UserHierarchyStructureHierarchyStructureLevelOne, UserHierarchyStructureHierarchyStructureLevelOneArgs

    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.
    name string
    arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    id string
    The identifier of the hierarchy level.
    name str
    arn str
    The Amazon Resource Name (ARN) of the hierarchy level.
    id str
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.

    UserHierarchyStructureHierarchyStructureLevelThree, UserHierarchyStructureHierarchyStructureLevelThreeArgs

    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.
    name string
    arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    id string
    The identifier of the hierarchy level.
    name str
    arn str
    The Amazon Resource Name (ARN) of the hierarchy level.
    id str
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.

    UserHierarchyStructureHierarchyStructureLevelTwo, UserHierarchyStructureHierarchyStructureLevelTwoArgs

    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    Name string
    Arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    Id string
    The identifier of the hierarchy level.
    name String
    arn String
    The Amazon Resource Name (ARN) of the hierarchy level.
    id String
    The identifier of the hierarchy level.
    name string
    arn string
    The Amazon Resource Name (ARN) of the hierarchy level.
    id string
    The identifier of the hierarchy level.
    name str
    arn str
    The Amazon Resource Name (ARN) of the hierarchy level.
    id str
    The identifier of the hierarchy level.
    name String
    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
    

    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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi