Class: AWSCDK::MediaConnect::CfnFlow::SourcePriorityProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlow::SourcePriorityProperty
- Defined in:
- media_connect/cfn_flow.rb
Overview
The priority you want to assign to a source.
You can have a primary stream and a backup stream or two equally prioritized streams.
Instance Attribute Summary collapse
-
#primary_source ⇒ String
readonly
The name of the source you choose as the primary source for this flow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(primary_source:) ⇒ SourcePriorityProperty
constructor
A new instance of SourcePriorityProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(primary_source:) ⇒ SourcePriorityProperty
Returns a new instance of SourcePriorityProperty.
1944 1945 1946 1947 |
# File 'media_connect/cfn_flow.rb', line 1944 def initialize(primary_source:) @primary_source = primary_source Jsii::Type.check_type(@primary_source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "primarySource") end |
Instance Attribute Details
#primary_source ⇒ String (readonly)
The name of the source you choose as the primary source for this flow.
1953 1954 1955 |
# File 'media_connect/cfn_flow.rb', line 1953 def primary_source @primary_source end |
Class Method Details
.jsii_properties ⇒ Object
1955 1956 1957 1958 1959 |
# File 'media_connect/cfn_flow.rb', line 1955 def self.jsii_properties { :primary_source => "primarySource", } end |
Instance Method Details
#to_jsii ⇒ Object
1961 1962 1963 1964 1965 1966 1967 |
# File 'media_connect/cfn_flow.rb', line 1961 def to_jsii result = {} result.merge!({ "primarySource" => @primary_source, }) result.compact end |