Class: AWSCDK::MediaLive::CfnInput::SrtListenerDecryptionRequestProperty

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) ⇒ SrtListenerDecryptionRequestProperty

Returns a new instance of SrtListenerDecryptionRequestProperty.

Parameters:

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


1442
1443
1444
1445
1446
1447
# File 'media_live/cfn_input.rb', line 1442

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)



1451
1452
1453
# File 'media_live/cfn_input.rb', line 1451

def algorithm
  @algorithm
end

#passphrase_secret_arnString? (readonly)



1454
1455
1456
# File 'media_live/cfn_input.rb', line 1454

def passphrase_secret_arn
  @passphrase_secret_arn
end

Class Method Details

.jsii_propertiesObject



1456
1457
1458
1459
1460
1461
# File 'media_live/cfn_input.rb', line 1456

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

Instance Method Details

#to_jsiiObject



1463
1464
1465
1466
1467
1468
1469
1470
# File 'media_live/cfn_input.rb', line 1463

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