Skip to main content

@swamp/aws/cognito

v2026.04.23.3

AWS COGNITO infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awscognitocloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/cognito

@swamp/aws/cognito/identity-poolv2026.04.23.2identity_pool.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
PushSync?object
CognitoIdentityProviders?array
DeveloperProviderName?string
CognitoStreams?object
SupportedLoginProviders?string
CognitoEvents?string
IdentityPoolName?string
AllowUnauthenticatedIdentitiesboolean
SamlProviderARNs?array
OpenIdConnectProviderARNs?array
AllowClassicFlow?boolean
IdentityPoolTags?arrayAn array of key-value pairs to apply to this resource.
createCreate a Cognito IdentityPool
getGet a Cognito IdentityPool
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito IdentityPool
updateUpdate a Cognito IdentityPool
deleteDelete a Cognito IdentityPool
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito IdentityPool
syncSync Cognito IdentityPool state from AWS

Resources

state(infinite)— Cognito IdentityPool resource state
@swamp/aws/cognito/identity-pool-principal-tagv2026.04.23.2identity_pool_principal_tag.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
IdentityPoolIdstring
IdentityProviderNamestring
UseDefaults?boolean
PrincipalTags?string
createCreate a Cognito IdentityPoolPrincipalTag
getGet a Cognito IdentityPoolPrincipalTag
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito IdentityPoolPrincipalTag
updateUpdate a Cognito IdentityPoolPrincipalTag
deleteDelete a Cognito IdentityPoolPrincipalTag
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito IdentityPoolPrincipalTag
syncSync Cognito IdentityPoolPrincipalTag state from AWS

Resources

state(infinite)— Cognito IdentityPoolPrincipalTag resource state
@swamp/aws/cognito/identity-pool-role-attachmentv2026.04.23.2identity_pool_role_attachment.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
IdentityPoolIdstring
createCreate a Cognito IdentityPoolRoleAttachment
getGet a Cognito IdentityPoolRoleAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito IdentityPoolRoleAttachment
updateUpdate a Cognito IdentityPoolRoleAttachment
deleteDelete a Cognito IdentityPoolRoleAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito IdentityPoolRoleAttachment
syncSync Cognito IdentityPoolRoleAttachment state from AWS

Resources

state(infinite)— Cognito IdentityPoolRoleAttachment resource state
@swamp/aws/cognito/log-delivery-configurationv2026.04.23.2log_delivery_configuration.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
LogConfigurations?array
createCreate a Cognito LogDeliveryConfiguration
getGet a Cognito LogDeliveryConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito LogDeliveryConfiguration
updateUpdate a Cognito LogDeliveryConfiguration
deleteDelete a Cognito LogDeliveryConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito LogDeliveryConfiguration
syncSync Cognito LogDeliveryConfiguration state from AWS

Resources

state(infinite)— Cognito LogDeliveryConfiguration resource state
@swamp/aws/cognito/managed-login-brandingv2026.04.23.2managed_login_branding.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
ClientId?string
UseCognitoProvidedValues?boolean
Settings?string
Assets?array
ReturnMergedResources?boolean
createCreate a Cognito ManagedLoginBranding
getGet a Cognito ManagedLoginBranding
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito ManagedLoginBranding
updateUpdate a Cognito ManagedLoginBranding
deleteDelete a Cognito ManagedLoginBranding
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito ManagedLoginBranding
syncSync Cognito ManagedLoginBranding state from AWS

Resources

state(infinite)— Cognito ManagedLoginBranding resource state
@swamp/aws/cognito/termsv2026.04.23.2terms.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
ClientId?string
TermsNamestring
TermsSourceenum
Enforcementenum
Linksrecord
createCreate a Cognito Terms
getGet a Cognito Terms
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito Terms
updateUpdate a Cognito Terms
deleteDelete a Cognito Terms
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito Terms
syncSync Cognito Terms state from AWS

Resources

state(infinite)— Cognito Terms resource state
@swamp/aws/cognito/user-poolv2026.04.23.2user_pool.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolName?string
Policies?object
AccountRecoverySetting?object
AdminCreateUserConfig?object
AliasAttributes?array
UsernameAttributes?array
AutoVerifiedAttributes?array
DeviceConfiguration?object
EmailConfiguration?object
EmailVerificationMessage?string
EmailVerificationSubject?string
DeletionProtection?string
LambdaConfig?object
MfaConfiguration?string
EnabledMfas?array
SmsAuthenticationMessage?string
EmailAuthenticationMessage?string
EmailAuthenticationSubject?string
SmsConfiguration?object
SmsVerificationMessage?string
WebAuthnRelyingPartyID?string
WebAuthnUserVerification?string
Schema?array
UsernameConfiguration?object
UserAttributeUpdateSettings?object
UserPoolTags?record
VerificationMessageTemplate?object
UserPoolAddOns?object
UserPoolTier?enum
createCreate a Cognito UserPool
getGet a Cognito UserPool
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPool
updateUpdate a Cognito UserPool
deleteDelete a Cognito UserPool
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPool
syncSync Cognito UserPool state from AWS

Resources

state(infinite)— Cognito UserPool resource state
@swamp/aws/cognito/user-pool-clientv2026.04.23.2user_pool_client.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ClientName?string
ExplicitAuthFlows?array
GenerateSecret?boolean
ReadAttributes?array
AuthSessionValidity?number
RefreshTokenValidity?number
AccessTokenValidity?number
IdTokenValidity?number
TokenValidityUnits?object
RefreshTokenRotation?object
UserPoolIdstring
WriteAttributes?array
AllowedOAuthFlows?array
AllowedOAuthFlowsUserPoolClient?boolean
AllowedOAuthScopes?array
CallbackURLs?array
DefaultRedirectURI?string
LogoutURLs?array
SupportedIdentityProviders?array
AnalyticsConfiguration?object
PreventUserExistenceErrors?string
EnableTokenRevocation?boolean
EnablePropagateAdditionalUserContextData?boolean
createCreate a Cognito UserPoolClient
getGet a Cognito UserPoolClient
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolClient
updateUpdate a Cognito UserPoolClient
deleteDelete a Cognito UserPoolClient
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolClient
syncSync Cognito UserPoolClient state from AWS

Resources

state(infinite)— Cognito UserPoolClient resource state
@swamp/aws/cognito/user-pool-domainv2026.04.23.2user_pool_domain.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
Domainstring
CustomDomainConfig?object
ManagedLoginVersion?number
createCreate a Cognito UserPoolDomain
getGet a Cognito UserPoolDomain
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolDomain
updateUpdate a Cognito UserPoolDomain
deleteDelete a Cognito UserPoolDomain
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolDomain
syncSync Cognito UserPoolDomain state from AWS

Resources

state(infinite)— Cognito UserPoolDomain resource state
@swamp/aws/cognito/user-pool-groupv2026.04.23.2user_pool_group.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Description?string
GroupName?string
Precedence?number
RoleArn?string
UserPoolIdstring
createCreate a Cognito UserPoolGroup
getGet a Cognito UserPoolGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolGroup
updateUpdate a Cognito UserPoolGroup
deleteDelete a Cognito UserPoolGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolGroup
syncSync Cognito UserPoolGroup state from AWS

Resources

state(infinite)— Cognito UserPoolGroup resource state
@swamp/aws/cognito/user-pool-identity-providerv2026.04.23.2user_pool_identity_provider.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
ProviderNamestring
ProviderTypestring
ProviderDetailsrecord
IdpIdentifiers?array
AttributeMapping?record
createCreate a Cognito UserPoolIdentityProvider
getGet a Cognito UserPoolIdentityProvider
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolIdentityProvider
updateUpdate a Cognito UserPoolIdentityProvider
deleteDelete a Cognito UserPoolIdentityProvider
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolIdentityProvider
syncSync Cognito UserPoolIdentityProvider state from AWS

Resources

state(infinite)— Cognito UserPoolIdentityProvider resource state
@swamp/aws/cognito/user-pool-resource-serverv2026.04.23.2user_pool_resource_server.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
Identifierstring
Namestring
Scopes?array
createCreate a Cognito UserPoolResourceServer
getGet a Cognito UserPoolResourceServer
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolResourceServer
updateUpdate a Cognito UserPoolResourceServer
deleteDelete a Cognito UserPoolResourceServer
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolResourceServer
syncSync Cognito UserPoolResourceServer state from AWS

Resources

state(infinite)— Cognito UserPoolResourceServer resource state
@swamp/aws/cognito/user-pool-risk-configuration-attachmentv2026.04.23.2user_pool_risk_configuration_attachment.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
ClientIdstring
RiskExceptionConfiguration?object
CompromisedCredentialsRiskConfiguration?object
AccountTakeoverRiskConfiguration?object
createCreate a Cognito UserPoolRiskConfigurationAttachment
getGet a Cognito UserPoolRiskConfigurationAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolRiskConfigurationAttachment
updateUpdate a Cognito UserPoolRiskConfigurationAttachment
deleteDelete a Cognito UserPoolRiskConfigurationAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolRiskConfigurationAttachment
syncSync Cognito UserPoolRiskConfigurationAttachment state from AWS

Resources

state(infinite)— Cognito UserPoolRiskConfigurationAttachment resource state
@swamp/aws/cognito/user-pool-uicustomization-attachmentv2026.04.23.2user_pool_uicustomization_attachment.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
ClientIdstring
CSS?string
createCreate a Cognito UserPoolUICustomizationAttachment
getGet a Cognito UserPoolUICustomizationAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolUICustomizationAttachment
updateUpdate a Cognito UserPoolUICustomizationAttachment
deleteDelete a Cognito UserPoolUICustomizationAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolUICustomizationAttachment
syncSync Cognito UserPoolUICustomizationAttachment state from AWS

Resources

state(infinite)— Cognito UserPoolUICustomizationAttachment resource state
@swamp/aws/cognito/user-pool-userv2026.04.23.2user_pool_user.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
DesiredDeliveryMediums?array
ForceAliasCreation?boolean
UserAttributes?array
MessageAction?string
Username?string
UserPoolIdstring
ValidationData?array
ClientMetadata?record
createCreate a Cognito UserPoolUser
getGet a Cognito UserPoolUser
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolUser
deleteDelete a Cognito UserPoolUser
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolUser
syncSync Cognito UserPoolUser state from AWS

Resources

state(infinite)— Cognito UserPoolUser resource state
@swamp/aws/cognito/user-pool-user-to-group-attachmentv2026.04.23.2user_pool_user_to_group_attachment.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
UserPoolIdstring
Usernamestring
GroupNamestring
createCreate a Cognito UserPoolUserToGroupAttachment
getGet a Cognito UserPoolUserToGroupAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolUserToGroupAttachment
deleteDelete a Cognito UserPoolUserToGroupAttachment
ArgumentTypeDescription
identifierstringThe primary identifier of the Cognito UserPoolUserToGroupAttachment
syncSync Cognito UserPoolUserToGroupAttachment state from AWS

Resources

state(infinite)— Cognito UserPoolUserToGroupAttachment resource state