Class: AWSCDK::Connect::CfnUserHierarchyStructure::LevelFiveProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUserHierarchyStructure::LevelFiveProperty
- Defined in:
- connect/cfn_user_hierarchy_structure.rb
Overview
The update for level five.
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) ⇒ LevelFiveProperty
constructor
A new instance of LevelFiveProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, hierarchy_level_arn: nil, hierarchy_level_id: nil) ⇒ LevelFiveProperty
Returns a new instance of LevelFiveProperty.
523 524 525 526 527 528 529 530 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 523 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.
541 542 543 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 541 def hierarchy_level_arn @hierarchy_level_arn end |
#hierarchy_level_id ⇒ String? (readonly)
The identifier of the hierarchy level.
546 547 548 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 546 def hierarchy_level_id @hierarchy_level_id end |
#name ⇒ String (readonly)
The name of the hierarchy level.
536 537 538 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 536 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
548 549 550 551 552 553 554 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 548 def self.jsii_properties { :name => "name", :hierarchy_level_arn => "hierarchyLevelArn", :hierarchy_level_id => "hierarchyLevelId", } end |
Instance Method Details
#to_jsii ⇒ Object
556 557 558 559 560 561 562 563 564 |
# File 'connect/cfn_user_hierarchy_structure.rb', line 556 def to_jsii result = {} result.merge!({ "name" => @name, "hierarchyLevelArn" => @hierarchy_level_arn, "hierarchyLevelId" => @hierarchy_level_id, }) result.compact end |