Class: AWSCDK::MediaConnect::CfnFlow::SecretsManagerEncryptionKeyConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlow::SecretsManagerEncryptionKeyConfigurationProperty
- Defined in:
- media_connect/cfn_flow.rb
Overview
The configuration settings for transit encryption of a flow source using AWS Secrets Manager, including the secret ARN and role ARN.
Instance Attribute Summary collapse
-
#role_arn ⇒ String
readonly
The ARN of the IAM role used for transit encryption from the router output using AWS Secrets Manager.
-
#secret_arn ⇒ String
readonly
The ARN of the AWS Secrets Manager secret used for transit encryption from the router output.
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.
1791 1792 1793 1794 1795 1796 |
# File 'media_connect/cfn_flow.rb', line 1791 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 used for transit encryption from the router output using AWS Secrets Manager.
1802 1803 1804 |
# File 'media_connect/cfn_flow.rb', line 1802 def role_arn @role_arn end |
#secret_arn ⇒ String (readonly)
The ARN of the AWS Secrets Manager secret used for transit encryption from the router output.
1807 1808 1809 |
# File 'media_connect/cfn_flow.rb', line 1807 def secret_arn @secret_arn end |
Class Method Details
.jsii_properties ⇒ Object
1809 1810 1811 1812 1813 1814 |
# File 'media_connect/cfn_flow.rb', line 1809 def self.jsii_properties { :role_arn => "roleArn", :secret_arn => "secretArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1816 1817 1818 1819 1820 1821 1822 1823 |
# File 'media_connect/cfn_flow.rb', line 1816 def to_jsii result = {} result.merge!({ "roleArn" => @role_arn, "secretArn" => @secret_arn, }) result.compact end |