Class: AWSCDK::Interfaces::AWSMediatailor::LiveSourceReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSMediatailor::LiveSourceReference
- Defined in:
- interfaces/aws_mediatailor/live_source_reference.rb
Overview
A reference to a LiveSource resource.
Instance Attribute Summary collapse
-
#live_source_arn ⇒ String
readonly
The ARN of the LiveSource resource.
-
#live_source_name ⇒ String
readonly
The LiveSourceName of the LiveSource resource.
-
#source_location_name ⇒ String
readonly
The SourceLocationName of the LiveSource resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(live_source_arn:, live_source_name:, source_location_name:) ⇒ LiveSourceReference
constructor
A new instance of LiveSourceReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(live_source_arn:, live_source_name:, source_location_name:) ⇒ LiveSourceReference
Returns a new instance of LiveSourceReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_mediatailor/live_source_reference.rb', line 10 def initialize(live_source_arn:, live_source_name:, source_location_name:) @live_source_arn = live_source_arn Jsii::Type.check_type(@live_source_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "liveSourceArn") @live_source_name = live_source_name Jsii::Type.check_type(@live_source_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "liveSourceName") @source_location_name = source_location_name Jsii::Type.check_type(@source_location_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceLocationName") end |
Instance Attribute Details
#live_source_arn ⇒ String (readonly)
The ARN of the LiveSource resource.
22 23 24 |
# File 'interfaces/aws_mediatailor/live_source_reference.rb', line 22 def live_source_arn @live_source_arn end |
#live_source_name ⇒ String (readonly)
The LiveSourceName of the LiveSource resource.
26 27 28 |
# File 'interfaces/aws_mediatailor/live_source_reference.rb', line 26 def live_source_name @live_source_name end |
#source_location_name ⇒ String (readonly)
The SourceLocationName of the LiveSource resource.
30 31 32 |
# File 'interfaces/aws_mediatailor/live_source_reference.rb', line 30 def source_location_name @source_location_name end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_mediatailor/live_source_reference.rb', line 32 def self.jsii_properties { :live_source_arn => "liveSourceArn", :live_source_name => "liveSourceName", :source_location_name => "sourceLocationName", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_mediatailor/live_source_reference.rb', line 40 def to_jsii result = {} result.merge!({ "liveSourceArn" => @live_source_arn, "liveSourceName" => @live_source_name, "sourceLocationName" => @source_location_name, }) result.compact end |