Class: AWSCDK::Connect::CfnUserHierarchyStructure::LevelOneProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUserHierarchyStructure::LevelOneProperty
- Defined in:
- connect/cfn_user_hierarchy_structure.rb
Overview
Information about level one.
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) ⇒ LevelOneProperty
constructor
A new instance of LevelOneProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, hierarchy_level_arn: nil, hierarchy_level_id: nil) ⇒ LevelOneProperty
Returns a new instance of LevelOneProperty.
629 630 631 632 633 634 635 636 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 629 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.
647 648 649 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 647 def hierarchy_level_arn @hierarchy_level_arn end |
#hierarchy_level_id ⇒ String? (readonly)
The identifier of the hierarchy level.
652 653 654 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 652 def hierarchy_level_id @hierarchy_level_id end |
#name ⇒ String (readonly)
The name of the hierarchy level.
642 643 644 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 642 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
654 655 656 657 658 659 660 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 654 def self.jsii_properties { :name => "name", :hierarchy_level_arn => "hierarchyLevelArn", :hierarchy_level_id => "hierarchyLevelId", } end |
Instance Method Details
#to_jsii ⇒ Object
662 663 664 665 666 667 668 669 670 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 662 def to_jsii result = {} result.merge!({ "name" => @name, "hierarchyLevelArn" => @hierarchy_level_arn, "hierarchyLevelId" => @hierarchy_level_id, }) result.compact end |