Class: AWSCDK::MediaLive::CfnInput::RouterSettingsProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destinations: nil, encryption_type: nil, secret_arn: nil) ⇒ RouterSettingsProperty

Returns a new instance of RouterSettingsProperty.

Parameters:



1197
1198
1199
1200
1201
1202
1203
1204
# File 'media_live/cfn_input.rb', line 1197

def initialize(destinations: nil, encryption_type: nil, secret_arn: nil)
  @destinations = destinations
  Jsii::Type.check_type(@destinations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbklucHV0LlJvdXRlckRlc3RpbmF0aW9uU2V0dGluZ3NQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "destinations") unless @destinations.nil?
  @encryption_type = encryption_type
  Jsii::Type.check_type(@encryption_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionType") unless @encryption_type.nil?
  @secret_arn = secret_arn
  Jsii::Type.check_type(@secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretArn") unless @secret_arn.nil?
end

Instance Attribute Details

#encryption_typeString? (readonly)



1211
1212
1213
# File 'media_live/cfn_input.rb', line 1211

def encryption_type
  @encryption_type
end

#secret_arnString? (readonly)



1214
1215
1216
# File 'media_live/cfn_input.rb', line 1214

def secret_arn
  @secret_arn
end

Class Method Details

.jsii_propertiesObject



1216
1217
1218
1219
1220
1221
1222
# File 'media_live/cfn_input.rb', line 1216

def self.jsii_properties
  {
    :destinations => "destinations",
    :encryption_type => "encryptionType",
    :secret_arn => "secretArn",
  }
end

Instance Method Details

#to_jsiiObject



1224
1225
1226
1227
1228
1229
1230
1231
1232
# File 'media_live/cfn_input.rb', line 1224

def to_jsii
  result = {}
  result.merge!({
    "destinations" => @destinations,
    "encryptionType" => @encryption_type,
    "secretArn" => @secret_arn,
  })
  result.compact
end