Class: AWSCDK::MediaLive::CfnInput::MediaConnectFlowRequestProperty

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

Overview

Settings that apply only if the input is a MediaConnect input.

The parent of this entity is Input.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flow_arn: nil) ⇒ MediaConnectFlowRequestProperty

Returns a new instance of MediaConnectFlowRequestProperty.

Parameters:

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

    The ARN of one or two MediaConnect flows that are the sources for this MediaConnect input.



1069
1070
1071
1072
# File 'media_live/cfn_input.rb', line 1069

def initialize(flow_arn: nil)
  @flow_arn = flow_arn
  Jsii::Type.check_type(@flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flowArn") unless @flow_arn.nil?
end

Instance Attribute Details

#flow_arnString? (readonly)

The ARN of one or two MediaConnect flows that are the sources for this MediaConnect input.



1078
1079
1080
# File 'media_live/cfn_input.rb', line 1078

def flow_arn
  @flow_arn
end

Class Method Details

.jsii_propertiesObject



1080
1081
1082
1083
1084
# File 'media_live/cfn_input.rb', line 1080

def self.jsii_properties
  {
    :flow_arn => "flowArn",
  }
end

Instance Method Details

#to_jsiiObject



1086
1087
1088
1089
1090
1091
1092
# File 'media_live/cfn_input.rb', line 1086

def to_jsii
  result = {}
  result.merge!({
    "flowArn" => @flow_arn,
  })
  result.compact
end