Class: AWSCDK::MediaLive::CfnChannel::FeatureActivationsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

Settings to enable specific features. You can't configure these features until you have enabled them in the channel.

The parent of this entity is EncoderSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_prepare_schedule_actions: nil, output_static_image_overlay_schedule_actions: nil) ⇒ FeatureActivationsProperty

Returns a new instance of FeatureActivationsProperty.

Parameters:

  • input_prepare_schedule_actions (String, nil) (defaults to: nil)

    Enables the Input Prepare feature.

  • output_static_image_overlay_schedule_actions (String, nil) (defaults to: nil)


5592
5593
5594
5595
5596
5597
# File 'media_live/cfn_channel.rb', line 5592

def initialize(input_prepare_schedule_actions: nil, output_static_image_overlay_schedule_actions: nil)
  @input_prepare_schedule_actions = input_prepare_schedule_actions
  Jsii::Type.check_type(@input_prepare_schedule_actions, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputPrepareScheduleActions") unless @input_prepare_schedule_actions.nil?
  @output_static_image_overlay_schedule_actions = output_static_image_overlay_schedule_actions
  Jsii::Type.check_type(@output_static_image_overlay_schedule_actions, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputStaticImageOverlayScheduleActions") unless @output_static_image_overlay_schedule_actions.nil?
end

Instance Attribute Details

#input_prepare_schedule_actionsString? (readonly)

Enables the Input Prepare feature.

You can create Input Prepare actions in the schedule only if this feature is enabled. If you disable the feature on an existing schedule, make sure that you first delete all input prepare actions from the schedule.



5606
5607
5608
# File 'media_live/cfn_channel.rb', line 5606

def input_prepare_schedule_actions
  @input_prepare_schedule_actions
end

#output_static_image_overlay_schedule_actionsString? (readonly)



5609
5610
5611
# File 'media_live/cfn_channel.rb', line 5609

def output_static_image_overlay_schedule_actions
  @output_static_image_overlay_schedule_actions
end

Class Method Details

.jsii_propertiesObject



5611
5612
5613
5614
5615
5616
# File 'media_live/cfn_channel.rb', line 5611

def self.jsii_properties
  {
    :input_prepare_schedule_actions => "inputPrepareScheduleActions",
    :output_static_image_overlay_schedule_actions => "outputStaticImageOverlayScheduleActions",
  }
end

Instance Method Details

#to_jsiiObject



5618
5619
5620
5621
5622
5623
5624
5625
# File 'media_live/cfn_channel.rb', line 5618

def to_jsii
  result = {}
  result.merge!({
    "inputPrepareScheduleActions" => @input_prepare_schedule_actions,
    "outputStaticImageOverlayScheduleActions" => @output_static_image_overlay_schedule_actions,
  })
  result.compact
end