Class: AWSCDK::MediaConnect::CfnFlow::FlowTransitEncryptionKeyConfigurationProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(automatic: nil, secrets_manager: nil) ⇒ FlowTransitEncryptionKeyConfigurationProperty

Returns a new instance of FlowTransitEncryptionKeyConfigurationProperty.

Parameters:



1039
1040
1041
1042
1043
1044
# File 'media_connect/cfn_flow.rb', line 1039

def initialize(automatic: nil, secrets_manager: nil)
  @automatic = automatic
  Jsii::Type.check_type(@automatic, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "automatic") unless @automatic.nil?
  @secrets_manager = secrets_manager.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlow::SecretsManagerEncryptionKeyConfigurationProperty.new(**secrets_manager.transform_keys(&:to_sym)) : secrets_manager
  Jsii::Type.check_type(@secrets_manager, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvdy5TZWNyZXRzTWFuYWdlckVuY3J5cHRpb25LZXlDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "secretsManager") unless @secrets_manager.nil?
end

Instance Attribute Details

#automaticObject? (readonly)

Configuration settings for automatic encryption key management, where MediaConnect handles key creation and rotation.



1050
1051
1052
# File 'media_connect/cfn_flow.rb', line 1050

def automatic
  @automatic
end

#secrets_managerAWSCDK::IResolvable, ... (readonly)

The configuration settings for transit encryption of a flow source using AWS Secrets Manager, including the secret ARN and role ARN.



1055
1056
1057
# File 'media_connect/cfn_flow.rb', line 1055

def secrets_manager
  @secrets_manager
end

Class Method Details

.jsii_propertiesObject



1057
1058
1059
1060
1061
1062
# File 'media_connect/cfn_flow.rb', line 1057

def self.jsii_properties
  {
    :automatic => "automatic",
    :secrets_manager => "secretsManager",
  }
end

Instance Method Details

#to_jsiiObject



1064
1065
1066
1067
1068
1069
1070
1071
# File 'media_connect/cfn_flow.rb', line 1064

def to_jsii
  result = {}
  result.merge!({
    "automatic" => @automatic,
    "secretsManager" => @secrets_manager,
  })
  result.compact
end