Class: AWSCDK::Interfaces::AWSEMR::StudioSessionMappingReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEMR::StudioSessionMappingReference
- Defined in:
- interfaces/awsemr/studio_session_mapping_reference.rb
Overview
A reference to a StudioSessionMapping resource.
Instance Attribute Summary collapse
-
#identity_name ⇒ String
readonly
The IdentityName of the StudioSessionMapping resource.
-
#identity_type ⇒ String
readonly
The IdentityType of the StudioSessionMapping resource.
-
#studio_id ⇒ String
readonly
The StudioId of the StudioSessionMapping resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(identity_name:, identity_type:, studio_id:) ⇒ StudioSessionMappingReference
constructor
A new instance of StudioSessionMappingReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(identity_name:, identity_type:, studio_id:) ⇒ StudioSessionMappingReference
Returns a new instance of StudioSessionMappingReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 10 def initialize(identity_name:, identity_type:, studio_id:) @identity_name = identity_name Jsii::Type.check_type(@identity_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityName") @identity_type = identity_type Jsii::Type.check_type(@identity_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityType") @studio_id = studio_id Jsii::Type.check_type(@studio_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "studioId") end |
Instance Attribute Details
#identity_name ⇒ String (readonly)
The IdentityName of the StudioSessionMapping resource.
22 23 24 |
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 22 def identity_name @identity_name end |
#identity_type ⇒ String (readonly)
The IdentityType of the StudioSessionMapping resource.
26 27 28 |
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 26 def identity_type @identity_type end |
#studio_id ⇒ String (readonly)
The StudioId of the StudioSessionMapping resource.
30 31 32 |
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 30 def studio_id @studio_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 32 def self.jsii_properties { :identity_name => "identityName", :identity_type => "identityType", :studio_id => "studioId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 40 def to_jsii result = {} result.merge!({ "identityName" => @identity_name, "identityType" => @identity_type, "studioId" => @studio_id, }) result.compact end |