Skip to main content

identity_sources

Creates, updates, deletes or gets an identity_source resource or lists identity_sources in a region

Overview

Nameidentity_sources
TypeResource
DescriptionResource Type definition for AWS::MPA::IdentitySource.
Idawscc.mpa.identity_sources

Fields

NameDatatypeDescription
identity_source_arnstring
identity_source_parametersobject
tagsarray
identity_source_typestring
creation_timestring
statusstring
status_codestring
status_messagestring
regionstringAWS region.

For more information, see AWS::MPA::IdentitySource.

Methods

NameAccessible byRequired Params
create_resourceINSERTIdentitySourceParameters, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual identity_source.

SELECT
region,
identity_source_arn,
identity_source_parameters,
tags,
identity_source_type,
creation_time,
status,
status_code,
status_message
FROM awscc.mpa.identity_sources
WHERE region = 'us-east-1' AND data__Identifier = '<IdentitySourceArn>';

INSERT example

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

/*+ create */
INSERT INTO awscc.mpa.identity_sources (
IdentitySourceParameters,
region
)
SELECT
'{{ IdentitySourceParameters }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.mpa.identity_sources
WHERE data__Identifier = '<IdentitySourceArn>'
AND region = 'us-east-1';

Permissions

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

Create

mpa:CreateIdentitySource,
mpa:TagResource,
mpa:ListTagsForResource,
mpa:GetIdentitySource,
sso:DescribeApplication,
sso:DescribeInstance,
sso:CreateApplication,
sso:PutApplicationAssignmentConfiguration,
sso:PutApplicationGrant,
sso:PutApplicationAuthenticationMethod,
sso:PutApplicationAccessScope,
kms:Decrypt

Read

mpa:GetIdentitySource,
mpa:ListTagsForResource

Update

mpa:GetIdentitySource,
mpa:TagResource,
mpa:ListTagsForResource,
mpa:UntagResource

Delete

mpa:DeleteIdentitySource,
mpa:GetIdentitySource,
mpa:UntagResource,
sso:DeleteApplication,
sso:ListInstances,
kms:Decrypt

List

mpa:ListIdentitySources,
mpa:ListTagsForResource