This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: "2010-09-09" | |
Description: Athena Stack | |
Resources: | |
GlueDatabase: | |
Type: AWS::Glue::Database | |
Properties: | |
CatalogId: !Ref 'AWS::AccountId' | |
DatabaseInput: | |
Description: for athena | |
Name: gcchaan_database |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cdk = require('@aws-cdk/core'); | |
import * as cognito from '@aws-cdk/aws-cognito' | |
import { SignInType, UserPoolAttribute } from '@aws-cdk/aws-cognito'; | |
export class SailingdayStack extends cdk.Stack { | |
constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) { | |
super(scope, id, props); | |
const userPool = new cognito.UserPool(this, id + 'Pool', { | |
signInType: SignInType.EMAIL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* refs. https://github.com/jeremydaly/lambda-api/issues/53#issuecomment-450578262 | |
*/ | |
import { api } from "./src/app"; | |
import { | |
APIGatewayProxyEventV2, | |
APIGatewayEventRequestContextV2, | |
APIGatewayProxyEventHeaders, | |
Context, |
OlderNewer