Class: AWSCDK::IVS::CfnChannel::MultitrackInputConfigurationProperty

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

Overview

A complex type that specifies multitrack input configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil, maximum_resolution: nil, policy: nil) ⇒ MultitrackInputConfigurationProperty

Returns a new instance of MultitrackInputConfigurationProperty.

Parameters:

  • enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Indicates whether multitrack input is enabled.

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

    Maximum resolution for multitrack input.

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

    Indicates whether multitrack input is allowed or required.



665
666
667
668
669
670
671
672
# File 'ivs/cfn_channel.rb', line 665

def initialize(enabled: nil, maximum_resolution: nil, policy: nil)
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil?
  @maximum_resolution = maximum_resolution
  Jsii::Type.check_type(@maximum_resolution, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "maximumResolution") unless @maximum_resolution.nil?
  @policy = policy
  Jsii::Type.check_type(@policy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "policy") unless @policy.nil?
end

Instance Attribute Details

#enabledBoolean, ... (readonly)

Note:

Default: - false

Indicates whether multitrack input is enabled.

Can be set to true only if channel type is STANDARD . Setting enabled to true with any other channel type will cause an exception. If true , then policy , maximum_resolution , and container_format are required, and container_format must be set to FRAGMENTED_MP4 . Default: false .



681
682
683
# File 'ivs/cfn_channel.rb', line 681

def enabled
  @enabled
end

#maximum_resolutionString? (readonly)

Maximum resolution for multitrack input.

Required if enabled is true .



688
689
690
# File 'ivs/cfn_channel.rb', line 688

def maximum_resolution
  @maximum_resolution
end

#policyString? (readonly)

Indicates whether multitrack input is allowed or required.

Required if enabled is true .



695
696
697
# File 'ivs/cfn_channel.rb', line 695

def policy
  @policy
end

Class Method Details

.jsii_propertiesObject



697
698
699
700
701
702
703
# File 'ivs/cfn_channel.rb', line 697

def self.jsii_properties
  {
    :enabled => "enabled",
    :maximum_resolution => "maximumResolution",
    :policy => "policy",
  }
end

Instance Method Details

#to_jsiiObject



705
706
707
708
709
710
711
712
713
# File 'ivs/cfn_channel.rb', line 705

def to_jsii
  result = {}
  result.merge!({
    "enabled" => @enabled,
    "maximumResolution" => @maximum_resolution,
    "policy" => @policy,
  })
  result.compact
end