Skip to main content

user_poolui_customization_attachments

Creates, updates, deletes or gets an user_poolui_customization_attachment resource or lists user_poolui_customization_attachments in a region

Overview

Nameuser_poolui_customization_attachments
TypeResource
DescriptionResource Type definition for AWS::Cognito::UserPoolUICustomizationAttachment
Idaws.cognito.user_poolui_customization_attachments

Fields

NameDatatypeDescription
user_pool_idstring
client_idstring
c_ssstring
regionstringAWS region.

For more information, see AWS::Cognito::UserPoolUICustomizationAttachment.

Methods

NameAccessible byRequired Params
create_resourceINSERTUserPoolId, ClientId, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual user_poolui_customization_attachment.

SELECT
region,
user_pool_id,
client_id,
c_ss
FROM aws.cognito.user_poolui_customization_attachments
WHERE region = 'us-east-1' AND data__Identifier = '<UserPoolId>|<ClientId>';

INSERT example

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

/*+ create */
INSERT INTO aws.cognito.user_poolui_customization_attachments (
UserPoolId,
ClientId,
region
)
SELECT
'{{ UserPoolId }}',
'{{ ClientId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.cognito.user_poolui_customization_attachments
WHERE data__Identifier = '<UserPoolId|ClientId>'
AND region = 'us-east-1';

Permissions

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

Create

cognito-idp:SetUICustomization,
cognito-idp:GetUICustomization

Read

cognito-idp:GetUICustomization

Update

cognito-idp:SetUICustomization

Delete

cognito-idp:SetUICustomization,
cognito-idp:GetUICustomization