Class: AWSCDK::MediaLive::CfnChannel::MediaConnectRouterOutputDestinationSettingsProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encryption_type: nil, secret_arn: nil) ⇒ MediaConnectRouterOutputDestinationSettingsProperty

Returns a new instance of MediaConnectRouterOutputDestinationSettingsProperty.

Parameters:

  • encryption_type (String, nil) (defaults to: nil)
  • secret_arn (String, nil) (defaults to: nil)


10104
10105
10106
10107
10108
10109
# File 'media_live/cfn_channel.rb', line 10104

def initialize(encryption_type: nil, secret_arn: 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)



10113
10114
10115
# File 'media_live/cfn_channel.rb', line 10113

def encryption_type
  @encryption_type
end

#secret_arnString? (readonly)



10116
10117
10118
# File 'media_live/cfn_channel.rb', line 10116

def secret_arn
  @secret_arn
end

Class Method Details

.jsii_propertiesObject



10118
10119
10120
10121
10122
10123
# File 'media_live/cfn_channel.rb', line 10118

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

Instance Method Details

#to_jsiiObject



10125
10126
10127
10128
10129
10130
10131
10132
# File 'media_live/cfn_channel.rb', line 10125

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