Skip to main content

user_pool_client

Gets an individual user_pool_client resource

Overview

Nameuser_pool_client
TypeResource
Descriptionuser_pool_client
Idawscc.cognito.user_pool_client

Fields

NameDatatypeDescription
client_namestring
explicit_auth_flowsarray
generate_secretboolean
read_attributesarray
auth_session_validityinteger
refresh_token_validityinteger
access_token_validityinteger
id_token_validityinteger
token_validity_unitsobject
user_pool_idstring
write_attributesarray
allowed_oauth_flowsarray
allowed_oauth_flows_user_pool_clientboolean
allowed_oauth_scopesarray
callback_urlsarray
default_redirect_uristring
logout_urlsarray
supported_identity_providersarray
analytics_configurationobject
prevent_user_existence_errorsstring
enable_token_revocationboolean
enable_propagate_additional_user_context_databoolean
namestring
client_secretstring
client_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
client_name,
explicit_auth_flows,
generate_secret,
read_attributes,
auth_session_validity,
refresh_token_validity,
access_token_validity,
id_token_validity,
token_validity_units,
user_pool_id,
write_attributes,
allowed_oauth_flows,
allowed_oauth_flows_user_pool_client,
allowed_oauth_scopes,
callback_urls,
default_redirect_uri,
logout_urls,
supported_identity_providers,
analytics_configuration,
prevent_user_existence_errors,
enable_token_revocation,
enable_propagate_additional_user_context_data,
name,
client_secret,
client_id
FROM awscc.cognito.user_pool_client
WHERE data__Identifier = '<UserPoolId>|<ClientId>';

Permissions

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

Read

cognito-idp:DescribeUserPoolClient

Update

cognito-idp:UpdateUserPoolClient,
iam:PassRole,
iam:PutRolePolicy

Delete

cognito-idp:DeleteUserPoolClient,
iam:PutRolePolicy,
iam:DeleteRolePolicy