Class: AWSCDK::MediaConnect::CfnRouterOutput::SecretsManagerEncryptionKeyConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnRouterOutput::SecretsManagerEncryptionKeyConfigurationProperty
- 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
-
#role_arn ⇒ String
readonly
The ARN of the IAM role assumed by MediaConnect to access the Secrets Manager secret.
-
#secret_arn ⇒ String
readonly
The ARN of the Secrets Manager secret used for transit encryption.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(role_arn:, secret_arn:) ⇒ SecretsManagerEncryptionKeyConfigurationProperty
constructor
A new instance of SecretsManagerEncryptionKeyConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(role_arn:, secret_arn:) ⇒ SecretsManagerEncryptionKeyConfigurationProperty
Returns a new instance of SecretsManagerEncryptionKeyConfigurationProperty.
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_arn ⇒ String (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_arn ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |