Skip to main content

managed_login_brandings

Creates, updates, deletes or gets a managed_login_branding resource or lists managed_login_brandings in a region

Overview

Namemanaged_login_brandings
TypeResource
DescriptionResource Type definition for AWS::Cognito::ManagedLoginBranding
Idaws.cognito.managed_login_brandings

Fields

NameDatatypeDescription
user_pool_idstring
client_idstring
use_cognito_provided_valuesboolean
settingsobject
assetsarray
managed_login_branding_idstring
return_merged_resourcesboolean
regionstringAWS region.

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

Methods

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

SELECT examples

Gets all properties from an individual managed_login_branding.

SELECT
region,
user_pool_id,
client_id,
use_cognito_provided_values,
settings,
assets,
managed_login_branding_id,
return_merged_resources
FROM aws.cognito.managed_login_brandings
WHERE region = 'us-east-1' AND data__Identifier = '<UserPoolId>|<ManagedLoginBrandingId>';

INSERT example

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

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

DELETE example

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

Permissions

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

Create

cognito-idp:CreateManagedLoginBranding

Read

cognito-idp:DescribeManagedLoginBranding

Update

cognito-idp:UpdateManagedLoginBranding

Delete

cognito-idp:DeleteManagedLoginBranding