Skip to main content

applications

Creates, updates, deletes or gets an application resource or lists applications in a region

Overview

Nameapplications
TypeResource
DescriptionResource Type definition for Identity Center (SSO) Application
Idaws.sso.applications

Fields

NameDatatypeDescription
namestringThe name you want to assign to this Identity Center (SSO) Application
descriptionstringThe description information for the Identity Center (SSO) Application
instance_arnstringThe ARN of the instance of IAM Identity Center under which the operation will run
application_arnstringThe Application ARN that is returned upon creation of the Identity Center (SSO) Application
application_provider_arnstringThe ARN of the application provider under which the operation will run
statusstringSpecifies whether the application is enabled or disabled
portal_optionsobjectA structure that describes the options for the portal associated with an application
tagsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, InstanceArn, ApplicationProviderArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all applications in a region.

SELECT
region,
name,
description,
instance_arn,
application_arn,
application_provider_arn,
status,
portal_options,
tags
FROM aws.sso.applications
WHERE region = 'us-east-1';

Gets all properties from an individual application.

SELECT
region,
name,
description,
instance_arn,
application_arn,
application_provider_arn,
status,
portal_options,
tags
FROM aws.sso.applications
WHERE region = 'us-east-1' AND data__Identifier = '<ApplicationArn>';

INSERT example

Use the following StackQL query and manifest file to create a new application resource, using stack-deploy.

/*+ create */
INSERT INTO aws.sso.applications (
Name,
InstanceArn,
ApplicationProviderArn,
region
)
SELECT
'{{ Name }}',
'{{ InstanceArn }}',
'{{ ApplicationProviderArn }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.sso.applications
WHERE data__Identifier = '<ApplicationArn>'
AND region = 'us-east-1';

Permissions

To operate on the applications resource, the following permissions are required:

Create

sso:CreateApplication,
sso:DescribeApplication,
sso:TagResource

Read

sso:DescribeApplication,
sso:ListTagsForResource

Update

sso:UpdateApplication,
sso:TagResource,
sso:UntagResource,
sso:ListTagsForResource,
sso:DescribeApplication

Delete

sso:DeleteApplication

List

sso:ListApplications