Class: AWSCDK::Interfaces::AWSMediatailor::VodSourceReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_mediatailor/vod_source_reference.rb

Overview

A reference to a VodSource resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_location_name:, vod_source_arn:, vod_source_name:) ⇒ VodSourceReference

Returns a new instance of VodSourceReference.

Parameters:

  • source_location_name (String)

    The SourceLocationName of the VodSource resource.

  • vod_source_arn (String)

    The ARN of the VodSource resource.

  • vod_source_name (String)

    The VodSourceName of the VodSource resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 10

def initialize(source_location_name:, vod_source_arn:, vod_source_name:)
  @source_location_name = source_location_name
  Jsii::Type.check_type(@source_location_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceLocationName")
  @vod_source_arn = vod_source_arn
  Jsii::Type.check_type(@vod_source_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vodSourceArn")
  @vod_source_name = vod_source_name
  Jsii::Type.check_type(@vod_source_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vodSourceName")
end

Instance Attribute Details

#source_location_nameString (readonly)

The SourceLocationName of the VodSource resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 22

def source_location_name
  @source_location_name
end

#vod_source_arnString (readonly)

The ARN of the VodSource resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 26

def vod_source_arn
  @vod_source_arn
end

#vod_source_nameString (readonly)

The VodSourceName of the VodSource resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 30

def vod_source_name
  @vod_source_name
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 32

def self.jsii_properties
  {
    :source_location_name => "sourceLocationName",
    :vod_source_arn => "vodSourceArn",
    :vod_source_name => "vodSourceName",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "sourceLocationName" => @source_location_name,
    "vodSourceArn" => @vod_source_arn,
    "vodSourceName" => @vod_source_name,
  })
  result.compact
end