Class: AWSCDK::Interfaces::AWSEMR::StudioSessionMappingReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsemr/studio_session_mapping_reference.rb

Overview

A reference to a StudioSessionMapping resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(identity_name:, identity_type:, studio_id:) ⇒ StudioSessionMappingReference

Returns a new instance of StudioSessionMappingReference.

Parameters:

  • identity_name (String)

    The IdentityName of the StudioSessionMapping resource.

  • identity_type (String)

    The IdentityType of the StudioSessionMapping resource.

  • studio_id (String)

    The StudioId of the StudioSessionMapping resource.



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_nameString (readonly)

The IdentityName of the StudioSessionMapping resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 22

def identity_name
  @identity_name
end

#identity_typeString (readonly)

The IdentityType of the StudioSessionMapping resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 26

def identity_type
  @identity_type
end

#studio_idString (readonly)

The StudioId of the StudioSessionMapping resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/awsemr/studio_session_mapping_reference.rb', line 30

def studio_id
  @studio_id
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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