# CfnUserHierarchyStructureProps

Properties for defining a `CfnUserHierarchyStructure`.

Extends: CfnUserHierarchyStructureProps
Used as props by: CfnUserHierarchyStructure

- Source: Generated code
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnUserHierarchyStructureProps: connect.CfnUserHierarchyStructureProps = {
  instanceArn: 'instanceArn',

  // the properties below are optional
  userHierarchyStructure: {
    levelFive: {
      name: 'name',

      // the properties below are optional
      hierarchyLevelArn: 'hierarchyLevelArn',
      hierarchyLevelId: 'hierarchyLevelId',
    },
    levelFour: {
      name: 'name',

      // the properties below are optional
      hierarchyLevelArn: 'hierarchyLevelArn',
      hierarchyLevelId: 'hierarchyLevelId',
    },
    levelOne: {
      name: 'name',

      // the properties below are optional
      hierarchyLevelArn: 'hierarchyLevelArn',
      hierarchyLevelId: 'hierarchyLevelId',
    },
    levelThree: {
      name: 'name',

      // the properties below are optional
      hierarchyLevelArn: 'hierarchyLevelArn',
      hierarchyLevelId: 'hierarchyLevelId',
    },
    levelTwo: {
      name: 'name',

      // the properties below are optional
      hierarchyLevelArn: 'hierarchyLevelArn',
      hierarchyLevelId: 'hierarchyLevelId',
    },
  },
};
```

## Properties

- `instanceArn`: string (required) — The Amazon Resource Name (ARN) of the instance.

- `userHierarchyStructure`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserHierarchyStructure.UserHierarchyStructureProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnUserHierarchyStructure.UserHierarchyStructureProperty.html) — Contains information about a hierarchy structure.
