Skip to content

Instantly share code, notes, and snippets.

View brianfoody's full-sized avatar
🙃
Play

Brian brianfoody

🙃
Play
View GitHub Profile
@brianfoody
brianfoody / greengrass-cdk.ts
Created April 25, 2020 07:35 — forked from t04glovern/greengrass-cdk.ts
Example of Greengrass Core deployment with AWS CDK
import cdk = require('@aws-cdk/core');
import greengrass = require('@aws-cdk/aws-greengrass');
import lambda = require('@aws-cdk/aws-lambda');
import { CfnCustomResource } from '@aws-cdk/aws-cloudformation';
import { PolicyStatement, Role, ServicePrincipal, CompositePrincipal } from '@aws-cdk/aws-iam';
import { group_deployment_reset_code } from '../lib/code/group_deployment_reset';
import { thing_vendor_code } from '../lib/code/thing_vendor';