Class: AWSCDK::Interfaces::AWSMediatailor::VodSourceReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSMediatailor::VodSourceReference
- Defined in:
- interfaces/aws_mediatailor/vod_source_reference.rb
Overview
A reference to a VodSource resource.
Instance Attribute Summary collapse
-
#source_location_name ⇒ String
readonly
The SourceLocationName of the VodSource resource.
-
#vod_source_arn ⇒ String
readonly
The ARN of the VodSource resource.
-
#vod_source_name ⇒ String
readonly
The VodSourceName of the VodSource resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_location_name:, vod_source_arn:, vod_source_name:) ⇒ VodSourceReference
constructor
A new instance of VodSourceReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_location_name:, vod_source_arn:, vod_source_name:) ⇒ VodSourceReference
Returns a new instance of VodSourceReference.
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_name ⇒ String (readonly)
The SourceLocationName of the VodSource resource.
22 23 24 |
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 22 def source_location_name @source_location_name end |
#vod_source_arn ⇒ String (readonly)
The ARN of the VodSource resource.
26 27 28 |
# File 'interfaces/aws_mediatailor/vod_source_reference.rb', line 26 def vod_source_arn @vod_source_arn end |
#vod_source_name ⇒ String (readonly)
The VodSourceName of the VodSource resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |