This file contains hidden or 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 { Function, Topic, string, integer, timestamp } from 'punchcard'; | |
const app = new cdk.App(); | |
export default app; | |
const stack = new cdk.Stack(app, 'my-stack'); | |
// create a type-safe SNS Topic | |
const topic = new Topic(stack, 'Topic', { | |
type: struct({ |
This file contains hidden or 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 lambda = require('@aws-cdk/aws-lambda'); | |
import sns = require('@aws-cdk/aws-sns'); | |
import path = require('path'); | |
const app = new cdk.App(); | |
const stack = new cdk.Stack(app, 'my-stack'); | |
const topic = new sns.Topic(stack, 'MyTopic'); |
NewerOlder