Class: AWSCDK::MediaConnect::CfnRouterInput::SecretsManagerEncryptionKeyConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_router_input.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.



1586
1587
1588
1589
1590
1591
# File 'media_connect/cfn_router_input.rb', line 1586

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.



1597
1598
1599
# File 'media_connect/cfn_router_input.rb', line 1597

def role_arn
  @role_arn
end

#secret_arnString (readonly)

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



1602
1603
1604
# File 'media_connect/cfn_router_input.rb', line 1602

def secret_arn
  @secret_arn
end

Class Method Details

.jsii_propertiesObject



1604
1605
1606
1607
1608
1609
# File 'media_connect/cfn_router_input.rb', line 1604

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

Instance Method Details

#to_jsiiObject



1611
1612
1613
1614
1615
1616
1617
1618
# File 'media_connect/cfn_router_input.rb', line 1611

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