Class: AWSCDK::SSMGUIConnect::CfnPreferences::ConnectionRecordingPreferencesProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kms_key_arn:, recording_destinations:) ⇒ ConnectionRecordingPreferencesProperty

Returns a new instance of ConnectionRecordingPreferencesProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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