Class: AWSCDK::MediaConnect::CfnRouterOutput::SecretsManagerEncryptionKeyConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_router_output.rb

Overview

The configuration settings for transit encryption using Secrets Manager, including the secret ARN and role ARN.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role_arn:, secret_arn:) ⇒ SecretsManagerEncryptionKeyConfigurationProperty

Returns a new instance of SecretsManagerEncryptionKeyConfigurationProperty.

Parameters:

  • role_arn (String)

    The ARN of the IAM role assumed by MediaConnect to access the Secrets Manager secret.

  • secret_arn (String)

    The ARN of the Secrets Manager secret used for transit encryption.



1248
1249
1250
1251
1252
1253
# File 'media_connect/cfn_router_output.rb', line 1248

def initialize(role_arn:, secret_arn:)
  @role_arn = role_arn
  Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn")
  @secret_arn = secret_arn
  Jsii::Type.check_type(@secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretArn")
end

Instance Attribute Details

#role_arnString (readonly)

The ARN of the IAM role assumed by MediaConnect to access the Secrets Manager secret.



1259
1260
1261
# File 'media_connect/cfn_router_output.rb', line 1259

def role_arn
  @role_arn
end

#secret_arnString (readonly)

The ARN of the Secrets Manager secret used for transit encryption.



1264
1265
1266
# File 'media_connect/cfn_router_output.rb', line 1264

def secret_arn
  @secret_arn
end

Class Method Details

.jsii_propertiesObject



1266
1267
1268
1269
1270
1271
# File 'media_connect/cfn_router_output.rb', line 1266

def self.jsii_properties
  {
    :role_arn => "roleArn",
    :secret_arn => "secretArn",
  }
end

Instance Method Details

#to_jsiiObject



1273
1274
1275
1276
1277
1278
1279
1280
# File 'media_connect/cfn_router_output.rb', line 1273

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