Class: AWSCDK::MediaTailor::CfnPlaybackConfiguration::BumperProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnPlaybackConfiguration::BumperProperty
- Defined in:
- media_tailor/cfn_playback_configuration.rb
Overview
The configuration for bumpers.
Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers .
Instance Attribute Summary collapse
-
#end_url ⇒ String?
readonly
The URL for the end bumper asset.
-
#start_url ⇒ String?
readonly
The URL for the start bumper asset.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(end_url: nil, start_url: nil) ⇒ BumperProperty
constructor
A new instance of BumperProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(end_url: nil, start_url: nil) ⇒ BumperProperty
Returns a new instance of BumperProperty.
1024 1025 1026 1027 1028 1029 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1024 def initialize(end_url: nil, start_url: nil) @end_url = end_url Jsii::Type.check_type(@end_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endUrl") unless @end_url.nil? @start_url = start_url Jsii::Type.check_type(@start_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "startUrl") unless @start_url.nil? end |
Instance Attribute Details
#end_url ⇒ String? (readonly)
The URL for the end bumper asset.
1035 1036 1037 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1035 def end_url @end_url end |
#start_url ⇒ String? (readonly)
The URL for the start bumper asset.
1040 1041 1042 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1040 def start_url @start_url end |
Class Method Details
.jsii_properties ⇒ Object
1042 1043 1044 1045 1046 1047 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1042 def self.jsii_properties { :end_url => "endUrl", :start_url => "startUrl", } end |
Instance Method Details
#to_jsii ⇒ Object
1049 1050 1051 1052 1053 1054 1055 1056 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1049 def to_jsii result = {} result.merge!({ "endUrl" => @end_url, "startUrl" => @start_url, }) result.compact end |