CfnUserHierarchyStructurePropsMixin
- class aws_cdk.cfn_property_mixins.aws_connect.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.cfn_property_mixins import aws_connect as connect import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_user_hierarchy_structure_props_mixin = connect.CfnUserHierarchyStructurePropsMixin(connect.CfnUserHierarchyStructureMixinProps( instance_arn="instanceArn", user_hierarchy_structure=connect.CfnUserHierarchyStructurePropsMixin.UserHierarchyStructureProperty( level_five=connect.CfnUserHierarchyStructurePropsMixin.LevelFiveProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_four=connect.CfnUserHierarchyStructurePropsMixin.LevelFourProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_one=connect.CfnUserHierarchyStructurePropsMixin.LevelOneProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_three=connect.CfnUserHierarchyStructurePropsMixin.LevelThreeProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_two=connect.CfnUserHierarchyStructurePropsMixin.LevelTwoProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ) ) ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::Connect::UserHierarchyStructure.- Parameters:
props (
Union[CfnUserHierarchyStructureMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- 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)
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.
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.cfn_property_mixins import aws_connect as connect level_five_property = connect.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.cfn_property_mixins import aws_connect as connect level_four_property = connect.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.cfn_property_mixins import aws_connect as connect level_one_property = connect.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.cfn_property_mixins import aws_connect as connect level_three_property = connect.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.cfn_property_mixins import aws_connect as connect level_two_property = connect.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.cfn_property_mixins import aws_connect as connect user_hierarchy_structure_property = connect.CfnUserHierarchyStructurePropsMixin.UserHierarchyStructureProperty( level_five=connect.CfnUserHierarchyStructurePropsMixin.LevelFiveProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_four=connect.CfnUserHierarchyStructurePropsMixin.LevelFourProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_one=connect.CfnUserHierarchyStructurePropsMixin.LevelOneProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_three=connect.CfnUserHierarchyStructurePropsMixin.LevelThreeProperty( hierarchy_level_arn="hierarchyLevelArn", hierarchy_level_id="hierarchyLevelId", name="name" ), level_two=connect.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.