Class: AWSCDK::MediaConnect::CfnFlow::SecretsManagerEncryptionKeyConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

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 used for transit encryption from the router output using AWS Secrets Manager.

  • secret_arn (String)

    The ARN of the AWS Secrets Manager secret used for transit encryption from the router output.



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_arnString (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_arnString (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_propertiesObject



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_jsiiObject



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