Skip to main content

@reapit-cdk/userpool-domain

npm version npm downloads coverage: 99.02%25 Integ Tests: ✔

This construct returns the given Cognito UserPool's UserPoolDomain, or creates one. This resolves an issue with AWS::Cognito::UserPoolDomain, since that will fail if one already exists.

Package Installation:

yarn add --dev @reapit-cdk/userpool-domain
# or
npm install @reapit-cdk/userpool-domain --save-dev

Usage

import { CfnOutput, Stack, App } from 'aws-cdk-lib'
import { UserPool } from 'aws-cdk-lib/aws-cognito'
import { UserPoolDomain } from '@reapit-cdk/userpool-domain'

const app = new App()
const stack = new Stack(app, 'stack-name')
const userPool = UserPool.fromUserPoolId(stack, 'userpool', 'USERPOOL_ID')
const userPoolDomain = new UserPoolDomain(stack, 'domain', { userPool })
new CfnOutput(stack, 'userPoolDomain', {
  value: userPoolDomain.domain,
})

Metadata

Release files for reapit-cdk.userpool-domain 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reapit-cdk.userpool-domain 0.1.2
File Size Uploaded Provenance Actions
reapit-cdk.userpool-domain-0.1.2.tar.gz 111.7 kB Without provenance Details for reapit-cdk.userpool-domain-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reapit-cdk.userpool-domain 0.1.2
File Interpreter ABI Platform Actions
reapit_cdk.userpool_domain-0.1.2-py3-none-any.whl Python 3 none any Details for reapit_cdk.userpool_domain-0.1.2-py3-none-any.whl

Total release size: 222.3 kB

Release files / reapit-cdk.userpool-domain-0.1.2.tar.gz

Download URL reapit-cdk.userpool-domain-0.1.2.tar.gz
Size 111.7 kB
Tags Source
SHA-256 checksum
How to use checksums
410972ef56d51ad5d77a406502aff51f1a2658d1e09e2fa6fc4bc02d2eff0a0f
BLAKE2b-256 checksum
How to use checksums
812face41c9979799d94f14a4dd6c9f5d94867e8339b965b8aca395dd3ac0f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / reapit_cdk.userpool_domain-0.1.2-py3-none-any.whl

Download URL reapit_cdk.userpool_domain-0.1.2-py3-none-any.whl
Size 110.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ea51984ec24bc2529bcbd58a441f2cfe7d5912d82b90bbf5fc1cd934aaaf7ea
BLAKE2b-256 checksum
How to use checksums
2f51f828cb308fbd0b37ca3f6e4b74f1feae87a1e3c3d9aecdcab355739830f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Security for reapit-cdk.userpool-domain 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page