Skip to main content

connection_recording_preferences

Creates, updates, deletes, gets or lists a connection_recording_preferences resource.

Overview

Nameconnection_recording_preferences
TypeResource
Idaws.ssm_guiconnect.connection_recording_preferences

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
client_tokenstringService-provided idempotency token.
connection_recording_preferencesobjectThe set of preferences used for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region. This includes details such as which S3 bucket recordings are stored in.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_connection_recording_preferencesselectregionReturns the preferences specified for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region.
update_connection_recording_preferencesupdateregion, ConnectionRecordingPreferencesUpdates the preferences for recording RDP connections.
delete_connection_recording_preferencesdeleteregionDeletes the preferences for recording RDP connections.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the preferences specified for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region.

SELECT
client_token,
connection_recording_preferences
FROM aws.ssm_guiconnect.connection_recording_preferences
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Updates the preferences for recording RDP connections.

UPDATE aws.ssm_guiconnect.connection_recording_preferences
SET
ClientToken = '{{ ClientToken }}',
ConnectionRecordingPreferences = '{{ ConnectionRecordingPreferences }}'
WHERE
region = '{{ region }}' --required
AND ConnectionRecordingPreferences = '{{ ConnectionRecordingPreferences }}' --required
RETURNING
client_token,
connection_recording_preferences;

DELETE examples

Deletes the preferences for recording RDP connections.

DELETE FROM aws.ssm_guiconnect.connection_recording_preferences
WHERE region = '{{ region }}' --required
;