Skip to main content

application_session_configurations

Creates, updates, deletes, gets or lists an application_session_configurations resource.

Overview

Nameapplication_session_configurations
TypeResource
Idaws.sso_admin.application_session_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
user_background_session_application_statusstringThe status of user background sessions for the application. (ENABLED, DISABLED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_application_session_configurationselectregionRetrieves the session configuration for an application in IAM Identity Center. The session configuration determines how users can access an application. This includes whether user background sessions are enabled. User background sessions allow users to start a job on a supported Amazon Web Services managed application without having to remain signed in to an active session while the job runs.
put_application_session_configurationreplaceregion, ApplicationArnUpdates the session configuration for an application in IAM Identity Center. The session configuration determines how users can access an application. This includes whether user background sessions are enabled. User background sessions allow users to start a job on a supported Amazon Web Services managed application without having to remain signed in to an active session while the job runs.

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

Retrieves the session configuration for an application in IAM Identity Center. The session configuration determines how users can access an application. This includes whether user background sessions are enabled. User background sessions allow users to start a job on a supported Amazon Web Services managed application without having to remain signed in to an active session while the job runs.

SELECT
user_background_session_application_status
FROM aws.sso_admin.application_session_configurations
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Updates the session configuration for an application in IAM Identity Center. The session configuration determines how users can access an application. This includes whether user background sessions are enabled. User background sessions allow users to start a job on a supported Amazon Web Services managed application without having to remain signed in to an active session while the job runs.

REPLACE aws.sso_admin.application_session_configurations
SET
ApplicationArn = '{{ ApplicationArn }}',
UserBackgroundSessionApplicationStatus = '{{ UserBackgroundSessionApplicationStatus }}'
WHERE
region = '{{ region }}' --required
AND ApplicationArn = '{{ ApplicationArn }}' --required;