Skip to content

Instantly share code, notes, and snippets.

View Console32's full-sized avatar

Raphael Console32

View GitHub Profile
@Console32
Console32 / construct.ts
Created July 24, 2019 07:40
medium.bastion-host.construct.ts
export interface CustomConstructProps {
readonly someParameter: string
}
export class CustomConstruct extends cdk.Construct {
constructor(scope: cdk.Construct, id: string, props: CustomConstructProps) {
super(scope,id)
//READY TO GO
}
}
@Console32
Console32 / vpc.ts
Last active July 24, 2019 07:41
medium.bastion-host.vpc.ts
const vpc = ec2.Vpc(this, 'main-network')