Class: AWSCDK::MediaConnect::CfnFlowOutput::FlowTransitEncryptionKeyConfigurationProperty

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



957
958
959
960
961
962
# File 'media_connect/cfn_flow_output.rb', line 957

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::CfnFlowOutput::SecretsManagerEncryptionKeyConfigurationProperty.new(**secrets_manager.transform_keys(&:to_sym)) : secrets_manager
  Jsii::Type.check_type(@secrets_manager, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvd091dHB1dC5TZWNyZXRzTWFuYWdlckVuY3J5cHRpb25LZXlDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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.



968
969
970
# File 'media_connect/cfn_flow_output.rb', line 968

def automatic
  @automatic
end

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

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



973
974
975
# File 'media_connect/cfn_flow_output.rb', line 973

def secrets_manager
  @secrets_manager
end

Class Method Details

.jsii_propertiesObject



975
976
977
978
979
980
# File 'media_connect/cfn_flow_output.rb', line 975

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

Instance Method Details

#to_jsiiObject



982
983
984
985
986
987
988
989
# File 'media_connect/cfn_flow_output.rb', line 982

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