Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idaws.account_access.applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The date and time when the application was created.
errorobjectThe error details if the application is in a failed state.
identity_sourceobjectThe identity source details for the application, including the IAM Identity Center instance configuration.
statusstringThe current status of the application. (CREATE_IN_PROGRESS, ACTIVE, DELETE_IN_PROGRESS, CREATE_FAILED, DELETE_FAILED)
tagsobjectThe tags associated with the application.
tenant_idstringThe tenant identifier associated with the application.
updated_atstring (date-time)The date and time when the application was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_applicationselectapplication_arn, regionRetrieves details about an account access manager application, including its status, identity source, and tags.
list_applicationsselectregionLists the account access manager applications in your account. Use pagination to ensure that the operation returns quickly and successfully.
create_applicationinsertregion, identitySourceCreates an account access manager instance and its Amazon Web Services account access application in the associated IAM Identity Center instance. This operation is idempotent; calling it multiple times with the same parameters returns the existing application.
delete_applicationdeleteapplication_arn, regionDeletes an account access manager application. This operation is idempotent; deleting an application that has already been deleted does not return an error.

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
application_arnstringSpecifies the ARN of the application to delete.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves details about an account access manager application, including its status, identity source, and tags.

SELECT
created_at,
error,
identity_source,
status,
tags,
tenant_id,
updated_at
FROM aws.account_access.applications
WHERE application_arn = '{{ application_arn }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an account access manager instance and its Amazon Web Services account access application in the associated IAM Identity Center instance. This operation is idempotent; calling it multiple times with the same parameters returns the existing application.

INSERT INTO aws.account_access.applications (
identitySource,
tags,
region
)
SELECT
'{{ identitySource }}' /* required */,
'{{ tags }}',
'{{ region }}'
RETURNING
application_arn
;

DELETE examples

Deletes an account access manager application. This operation is idempotent; deleting an application that has already been deleted does not return an error.

DELETE FROM aws.account_access.applications
WHERE application_arn = '{{ application_arn }}' --required
AND region = '{{ region }}' --required
;