CfnUserHierarchyStructurePropsMixin
- class aws_cdk.mixins_preview.aws_connect.mixins.CfnUserHierarchyStructurePropsMixin(props, *, strategy=None)
Bases:
MixinContains information about a hierarchy structure.
- See:
- CloudformationResource:
AWS::Connect::UserHierarchyStructure
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins cfn_user_hierarchy_structure_props_mixin = connect_mixins.CfnUserHierarchyStructurePropsMixin(connect_mixins.CfnUserHierarchyStructureMixinProps( instance_arn="instanceArn", user_hierarchy_structure=connect_mixins.CfnUserHierarchyStructurePropsMixin.UserHierarchyStructureProperty( level_five=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelFiveProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_four=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelFourProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_one=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelOneProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_three=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelThreeProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_two=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelTwoProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ) ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Connect::UserHierarchyStructure.- Parameters:
props (
Union[CfnUserHierarchyStructureMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['instanceArn', 'userHierarchyStructure']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
LevelFiveProperty
- class CfnUserHierarchyStructurePropsMixin.LevelFiveProperty(*, hierarchy_level_arn=None, hierarchy_level_id=None, name=None)
Bases:
objectThe update for level five.
- Parameters:
hierarchy_level_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the hierarchy level.hierarchy_level_id (
Optional[str]) – The identifier of the hierarchy level.name (
Optional[str]) – The name of the hierarchy level.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins level_five_property = connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelFiveProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" )
Attributes
- hierarchy_level_arn
The Amazon Resource Name (ARN) of the hierarchy level.
- hierarchy_level_id
The identifier of the hierarchy level.
LevelFourProperty
- class CfnUserHierarchyStructurePropsMixin.LevelFourProperty(*, hierarchy_level_arn=None, hierarchy_level_id=None, name=None)
Bases:
objectThe update for level four.
- Parameters:
hierarchy_level_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the hierarchy level.hierarchy_level_id (
Optional[str]) – The identifier of the hierarchy level.name (
Optional[str]) – The name of the hierarchy level.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins level_four_property = connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelFourProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" )
Attributes
- hierarchy_level_arn
The Amazon Resource Name (ARN) of the hierarchy level.
- hierarchy_level_id
The identifier of the hierarchy level.
LevelOneProperty
- class CfnUserHierarchyStructurePropsMixin.LevelOneProperty(*, hierarchy_level_arn=None, hierarchy_level_id=None, name=None)
Bases:
objectInformation about level one.
- Parameters:
hierarchy_level_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the hierarchy level.hierarchy_level_id (
Optional[str]) – The identifier of the hierarchy level.name (
Optional[str]) – The name of the hierarchy level.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins level_one_property = connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelOneProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" )
Attributes
- hierarchy_level_arn
The Amazon Resource Name (ARN) of the hierarchy level.
- hierarchy_level_id
The identifier of the hierarchy level.
- name
The name of the hierarchy level.
LevelThreeProperty
- class CfnUserHierarchyStructurePropsMixin.LevelThreeProperty(*, hierarchy_level_arn=None, hierarchy_level_id=None, name=None)
Bases:
objectThe update for level three.
- Parameters:
hierarchy_level_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the hierarchy level.hierarchy_level_id (
Optional[str]) – The identifier of the hierarchy level.name (
Optional[str]) – The name of the hierarchy level.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins level_three_property = connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelThreeProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" )
Attributes
- hierarchy_level_arn
The Amazon Resource Name (ARN) of the hierarchy level.
- hierarchy_level_id
The identifier of the hierarchy level.
LevelTwoProperty
- class CfnUserHierarchyStructurePropsMixin.LevelTwoProperty(*, hierarchy_level_arn=None, hierarchy_level_id=None, name=None)
Bases:
objectThe update for level two.
- Parameters:
hierarchy_level_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the hierarchy level.hierarchy_level_id (
Optional[str]) – The identifier of the hierarchy level.name (
Optional[str]) – The name of the hierarchy level.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins level_two_property = connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelTwoProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" )
Attributes
- hierarchy_level_arn
The Amazon Resource Name (ARN) of the hierarchy level.
- hierarchy_level_id
The identifier of the hierarchy level.
- name
The name of the hierarchy level.
UserHierarchyStructureProperty
- class CfnUserHierarchyStructurePropsMixin.UserHierarchyStructureProperty(*, level_five=None, level_four=None, level_one=None, level_three=None, level_two=None)
Bases:
objectContains information about a hierarchy structure.
- Parameters:
level_five (
Union[IResolvable,LevelFiveProperty,Dict[str,Any],None]) – Information about level five.level_four (
Union[IResolvable,LevelFourProperty,Dict[str,Any],None]) – The update for level four.level_one (
Union[IResolvable,LevelOneProperty,Dict[str,Any],None]) – The update for level one.level_three (
Union[IResolvable,LevelThreeProperty,Dict[str,Any],None]) – The update for level three.level_two (
Union[IResolvable,LevelTwoProperty,Dict[str,Any],None]) – The update for level two.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins user_hierarchy_structure_property = connect_mixins.CfnUserHierarchyStructurePropsMixin.UserHierarchyStructureProperty( level_five=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelFiveProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_four=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelFourProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_one=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelOneProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_three=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelThreeProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_two=connect_mixins.CfnUserHierarchyStructurePropsMixin.LevelTwoProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ) )
Attributes
- level_five
Information about level five.
- level_four
The update for level four.
- level_one
The update for level one.
- level_three
The update for level three.