Class: AWSCDK::Connect::CfnUserHierarchyStructure::LevelFourProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUserHierarchyStructure::LevelFourProperty
- Defined in:
- connect/cfn_user_hierarchy_structure.rb
Overview
The update for level four.
Instance Attribute Summary collapse
-
#hierarchy_level_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the hierarchy level.
-
#hierarchy_level_id ⇒ String?
readonly
The identifier of the hierarchy level.
-
#name ⇒ String
readonly
The name of the hierarchy level.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, hierarchy_level_arn: nil, hierarchy_level_id: nil) ⇒ LevelFourProperty
constructor
A new instance of LevelFourProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, hierarchy_level_arn: nil, hierarchy_level_id: nil) ⇒ LevelFourProperty
Returns a new instance of LevelFourProperty.
576 577 578 579 580 581 582 583 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 576 def initialize(name:, hierarchy_level_arn: nil, hierarchy_level_id: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @hierarchy_level_arn = hierarchy_level_arn Jsii::Type.check_type(@hierarchy_level_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hierarchyLevelArn") unless @hierarchy_level_arn.nil? @hierarchy_level_id = hierarchy_level_id Jsii::Type.check_type(@hierarchy_level_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hierarchyLevelId") unless @hierarchy_level_id.nil? end |
Instance Attribute Details
#hierarchy_level_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the hierarchy level.
594 595 596 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 594 def hierarchy_level_arn @hierarchy_level_arn end |
#hierarchy_level_id ⇒ String? (readonly)
The identifier of the hierarchy level.
599 600 601 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 599 def hierarchy_level_id @hierarchy_level_id end |
#name ⇒ String (readonly)
The name of the hierarchy level.
589 590 591 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 589 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
601 602 603 604 605 606 607 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 601 def self.jsii_properties { :name => "name", :hierarchy_level_arn => "hierarchyLevelArn", :hierarchy_level_id => "hierarchyLevelId", } end |
Instance Method Details
#to_jsii ⇒ Object
609 610 611 612 613 614 615 616 617 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 609 def to_jsii result = {} result.merge!({ "name" => @name, "hierarchyLevelArn" => @hierarchy_level_arn, "hierarchyLevelId" => @hierarchy_level_id, }) result.compact end |