Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idaws.sso_admin.applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_accountstringThe account ID. (pattern: <code>\d{12}</code>)
application_arnstringSpecifies the ARN of the application. (pattern: <code>arn:aws(-[a-z]{1,5}){0,3}:sso::\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}</code>)
application_provider_arnstringThe ARN of the application provider under which the operation will run. (pattern: <code>arn:aws(-[a-z]{1,5}){0,3}:sso::aws:applicationProvider/[a-zA-Z0-9-/]+</code>)
created_datestring (date-time)The date the application was created.
created_fromstringThe Amazon Web Services Region where the application was created in IAM Identity Center. (pattern: <code>([a-z]+-){2,3}\d</code>)
descriptionstringThe description of the .
identity_store_arnstringThe ARN of the identity store that is connected to the instance of IAM Identity Center.
instance_arnstringThe ARN of the IAM Identity Center application under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference. (pattern: <code>arn:aws(-[a-z]{1,5}){0,3}:sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}</code>)
namestringThe application name. (pattern: <code>[\S\s]*</code>)
portal_optionsobjectA structure that describes the options for the portal associated with an application.
statusstringSpecifies whether the application is enabled or disabled. (ENABLED, DISABLED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_applicationselectregionRetrieves the details of an application associated with an instance of IAM Identity Center.
list_applicationsselectregionLists all applications associated with the instance of IAM Identity Center. When listing applications for an organization instance in the management account, member accounts must use the applicationAccount parameter to filter the list to only applications created from that account. When listing applications for an account instance in the same member account, a filter is not required.
create_applicationinsertregion, InstanceArn, ApplicationProviderArnCreates an OAuth 2.0 customer managed application in IAM Identity Center for the given application provider. This API does not support creating SAML 2.0 customer managed applications or Amazon Web Services managed applications. To learn how to create an Amazon Web Services managed application, see the application user guide. You can create a SAML 2.0 customer managed application in the Amazon Web Services Management Console only. See Setting up customer managed SAML 2.0 applications. For more information on these application types, see Amazon Web Services managed applications.
update_applicationupdateregion, ApplicationArnUpdates application properties.
delete_applicationdeleteregionDeletes the association with the application. The connected service resource still exists.

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 details of an application associated with an instance of IAM Identity Center.

SELECT
application_account,
application_arn,
application_provider_arn,
created_date,
created_from,
description,
identity_store_arn,
instance_arn,
name,
portal_options,
status
FROM aws.sso_admin.applications
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an OAuth 2.0 customer managed application in IAM Identity Center for the given application provider. This API does not support creating SAML 2.0 customer managed applications or Amazon Web Services managed applications. To learn how to create an Amazon Web Services managed application, see the application user guide. You can create a SAML 2.0 customer managed application in the Amazon Web Services Management Console only. See Setting up customer managed SAML 2.0 applications. For more information on these application types, see Amazon Web Services managed applications.

INSERT INTO aws.sso_admin.applications (
InstanceArn,
ApplicationProviderArn,
Name,
Description,
PortalOptions,
Tags,
Status,
ClientToken,
region
)
SELECT
'{{ InstanceArn }}' /* required */,
'{{ ApplicationProviderArn }}' /* required */,
'{{ Name }}',
'{{ Description }}',
'{{ PortalOptions }}',
'{{ Tags }}',
'{{ Status }}',
'{{ ClientToken }}',
'{{ region }}'
RETURNING
application_arn,
identity_store_arn,
instance_arn
;

UPDATE examples

Updates application properties.

UPDATE aws.sso_admin.applications
SET
ApplicationArn = '{{ ApplicationArn }}',
Name = '{{ Name }}',
Description = '{{ Description }}',
Status = '{{ Status }}',
PortalOptions = '{{ PortalOptions }}'
WHERE
region = '{{ region }}' --required
AND ApplicationArn = '{{ ApplicationArn }}' --required;

DELETE examples

Deletes the association with the application. The connected service resource still exists.

DELETE FROM aws.sso_admin.applications
WHERE region = '{{ region }}' --required
;