Class: AWSCDK::SSMGUIConnect::CfnPreferences::ConnectionRecordingPreferencesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMGUIConnect::CfnPreferences::ConnectionRecordingPreferencesProperty
- Defined in:
- ssmgui_connect/cfn_preferences.rb
Overview
The set of preferences used for recording RDP connections in the requesting AWS account and AWS Region .
This includes details such as which S3 bucket recordings are stored in.
Instance Attribute Summary collapse
-
#kms_key_arn ⇒ String
readonly
The ARN of a AWS key that is used to encrypt data while it is being processed by the service.
-
#recording_destinations ⇒ AWSCDK::IResolvable, AWSCDK::SSMGUIConnect::CfnPreferences::RecordingDestinationsProperty
readonly
Determines where recordings of RDP connections are stored.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kms_key_arn:, recording_destinations:) ⇒ ConnectionRecordingPreferencesProperty
constructor
A new instance of ConnectionRecordingPreferencesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kms_key_arn:, recording_destinations:) ⇒ ConnectionRecordingPreferencesProperty
Returns a new instance of ConnectionRecordingPreferencesProperty.
504 505 506 507 508 509 |
# File 'ssmgui_connect/cfn_preferences.rb', line 504 def initialize(kms_key_arn:, recording_destinations:) @kms_key_arn = kms_key_arn Jsii::Type.check_type(@kms_key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyArn") @recording_destinations = recording_destinations.is_a?(Hash) ? ::AWSCDK::SSMGUIConnect::CfnPreferences::RecordingDestinationsProperty.new(**recording_destinations.transform_keys(&:to_sym)) : recording_destinations Jsii::Type.check_type(@recording_destinations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zc21ndWljb25uZWN0LkNmblByZWZlcmVuY2VzLlJlY29yZGluZ0Rlc3RpbmF0aW9uc1Byb3BlcnR5In1dfX0=")), "recordingDestinations") end |
Instance Attribute Details
#kms_key_arn ⇒ String (readonly)
The ARN of a AWS key that is used to encrypt data while it is being processed by the service.
This key must exist in the same AWS Region as the node you start an RDP connection to.
517 518 519 |
# File 'ssmgui_connect/cfn_preferences.rb', line 517 def kms_key_arn @kms_key_arn end |
#recording_destinations ⇒ AWSCDK::IResolvable, AWSCDK::SSMGUIConnect::CfnPreferences::RecordingDestinationsProperty (readonly)
Determines where recordings of RDP connections are stored.
522 523 524 |
# File 'ssmgui_connect/cfn_preferences.rb', line 522 def recording_destinations @recording_destinations end |
Class Method Details
.jsii_properties ⇒ Object
524 525 526 527 528 529 |
# File 'ssmgui_connect/cfn_preferences.rb', line 524 def self.jsii_properties { :kms_key_arn => "kmsKeyArn", :recording_destinations => "recordingDestinations", } end |
Instance Method Details
#to_jsii ⇒ Object
531 532 533 534 535 536 537 538 |
# File 'ssmgui_connect/cfn_preferences.rb', line 531 def to_jsii result = {} result.merge!({ "kmsKeyArn" => @kms_key_arn, "recordingDestinations" => @recording_destinations, }) result.compact end |