UNPKG

@altostra/core

Version:

Core library for shared types and logic

12 lines (11 loc) 690 B
import type { Arn } from "../../aws/Arn"; import type { CloudFormationValue } from "../../aws/CloudFormation/IntrinsicFunctions"; import type { NonEmptyString } from "../../common/CustomTypes/NonEmptyString"; import type { TypeValidation } from '@altostra/type-validations'; import type { ResourceBase } from "./Common"; export declare type CognitoUserPoolType = 'resource.cognito.user-pool'; export interface CognitoUserPool extends ResourceBase { type: CognitoUserPoolType; } export declare const isCognitoUserPool: TypeValidation<CognitoUserPool>; export declare function externalCognitoUserPoolArn(poolId: NonEmptyString, errorData?: Record<string, any>): CloudFormationValue<Arn>;