Class: AWSCDK::MediaLive::CfnChannel::AvailBlankingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::AvailBlankingProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The configuration of ad avail blanking in the output.
The parent of this entity is EncoderSettings.
Instance Attribute Summary collapse
-
#avail_blanking_image ⇒ AWSCDK::IResolvable, ...
readonly
The blanking image to be used.
-
#state ⇒ String?
readonly
When set to enabled, the video, audio, and captions are blanked when insertion metadata is added.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(avail_blanking_image: nil, state: nil) ⇒ AvailBlankingProperty
constructor
A new instance of AvailBlankingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(avail_blanking_image: nil, state: nil) ⇒ AvailBlankingProperty
Returns a new instance of AvailBlankingProperty.
2770 2771 2772 2773 2774 2775 |
# File 'media_live/cfn_channel.rb', line 2770 def initialize(avail_blanking_image: nil, state: nil) @avail_blanking_image = avail_blanking_image.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::InputLocationProperty.new(**avail_blanking_image.transform_keys(&:to_sym)) : avail_blanking_image Jsii::Type.check_type(@avail_blanking_image, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5JbnB1dExvY2F0aW9uUHJvcGVydHkifV19fQ==")), "availBlankingImage") unless @avail_blanking_image.nil? @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") unless @state.nil? end |
Instance Attribute Details
#avail_blanking_image ⇒ AWSCDK::IResolvable, ... (readonly)
The blanking image to be used.
Keep empty for solid black. Only .bmp and .png images are supported.
2783 2784 2785 |
# File 'media_live/cfn_channel.rb', line 2783 def avail_blanking_image @avail_blanking_image end |
#state ⇒ String? (readonly)
When set to enabled, the video, audio, and captions are blanked when insertion metadata is added.
2788 2789 2790 |
# File 'media_live/cfn_channel.rb', line 2788 def state @state end |
Class Method Details
.jsii_properties ⇒ Object
2790 2791 2792 2793 2794 2795 |
# File 'media_live/cfn_channel.rb', line 2790 def self.jsii_properties { :avail_blanking_image => "availBlankingImage", :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
2797 2798 2799 2800 2801 2802 2803 2804 |
# File 'media_live/cfn_channel.rb', line 2797 def to_jsii result = {} result.merge!({ "availBlankingImage" => @avail_blanking_image, "state" => @state, }) result.compact end |