Class: AWSCDK::SSMGUIConnect::CfnPreferencesProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssmgui_connect/cfn_preferences_props.rb

Overview

Properties for defining a CfnPreferences.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connection_recording_preferences: nil) ⇒ CfnPreferencesProps

Returns a new instance of CfnPreferencesProps.

Parameters:



10
11
12
13
# File 'ssmgui_connect/cfn_preferences_props.rb', line 10

def initialize(connection_recording_preferences: nil)
  @connection_recording_preferences = connection_recording_preferences.is_a?(Hash) ? ::AWSCDK::SSMGUIConnect::CfnPreferences::ConnectionRecordingPreferencesProperty.new(**connection_recording_preferences.transform_keys(&:to_sym)) : connection_recording_preferences
  Jsii::Type.check_type(@connection_recording_preferences, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zc21ndWljb25uZWN0LkNmblByZWZlcmVuY2VzLkNvbm5lY3Rpb25SZWNvcmRpbmdQcmVmZXJlbmNlc1Byb3BlcnR5In1dfX0=")), "connectionRecordingPreferences") unless @connection_recording_preferences.nil?
end

Instance Attribute Details

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

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.



21
22
23
# File 'ssmgui_connect/cfn_preferences_props.rb', line 21

def connection_recording_preferences
  @connection_recording_preferences
end

Class Method Details

.jsii_propertiesObject



23
24
25
26
27
# File 'ssmgui_connect/cfn_preferences_props.rb', line 23

def self.jsii_properties
  {
    :connection_recording_preferences => "connectionRecordingPreferences",
  }
end

Instance Method Details

#to_jsiiObject



29
30
31
32
33
34
35
# File 'ssmgui_connect/cfn_preferences_props.rb', line 29

def to_jsii
  result = {}
  result.merge!({
    "connectionRecordingPreferences" => @connection_recording_preferences,
  })
  result.compact
end