Class: AWSCDK::MediaLive::CfnInput::SrtCallerDecryptionRequestProperty

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(algorithm: nil, passphrase_secret_arn: nil) ⇒ SrtCallerDecryptionRequestProperty

Returns a new instance of SrtCallerDecryptionRequestProperty.

Parameters:

  • algorithm (String, nil) (defaults to: nil)
  • passphrase_secret_arn (String, nil) (defaults to: nil)


1344
1345
1346
1347
1348
1349
# File 'media_live/cfn_input.rb', line 1344

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

Instance Attribute Details

#algorithmString? (readonly)



1353
1354
1355
# File 'media_live/cfn_input.rb', line 1353

def algorithm
  @algorithm
end

#passphrase_secret_arnString? (readonly)



1356
1357
1358
# File 'media_live/cfn_input.rb', line 1356

def passphrase_secret_arn
  @passphrase_secret_arn
end

Class Method Details

.jsii_propertiesObject



1358
1359
1360
1361
1362
1363
# File 'media_live/cfn_input.rb', line 1358

def self.jsii_properties
  {
    :algorithm => "algorithm",
    :passphrase_secret_arn => "passphraseSecretArn",
  }
end

Instance Method Details

#to_jsiiObject



1365
1366
1367
1368
1369
1370
1371
1372
# File 'media_live/cfn_input.rb', line 1365

def to_jsii
  result = {}
  result.merge!({
    "algorithm" => @algorithm,
    "passphraseSecretArn" => @passphrase_secret_arn,
  })
  result.compact
end