Skip to content

Commit

Permalink
Update typescript examples to v0.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Ben-Israel authored Jun 13, 2019
2 parents 8a5d779 + 3bf1bde commit 4487f80
Show file tree
Hide file tree
Showing 28 changed files with 794 additions and 791 deletions.
2 changes: 1 addition & 1 deletion typescript/api-cors-lambda-crud-dynamodb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ export function addCorsOptions(apiResource: apigateway.IResource) {

const app = new cdk.App();
new ApiLambdaCrudDynamoDBStack(app, 'ApiLambdaCrudDynamoDBExample');
app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/application-load-balancer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ class LoadBalancerStack extends cdk.Stack {

const app = new cdk.App();
new LoadBalancerStack(app, 'LoadBalancerStack');
app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/appsync-graphql-dynamodb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ export class AppSyncCdkStack extends cdk.Stack {

const app = new cdk.App();
new AppSyncCdkStack(app, 'AppSyncGraphQLDynamoDBExample');
app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/classic-load-balancer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ class LoadBalancerStack extends cdk.Stack {

const app = new cdk.App();
new LoadBalancerStack(app, 'LoadBalancerStack');
app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/custom-resource/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ class MyStack extends cdk.Stack {

const app = new cdk.App();
new MyStack(app, 'CustomResourceDemoStack');
app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/ecs/cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ const app = new cdk.App();

new ECSCluster(app, 'MyFirstEcsCluster');

app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/ecs/ecs-load-balanced-service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ const app = new cdk.App();

new BonjourECS(app, 'Bonjour');

app.run();
app.synth();
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ listener.addTargets('ECS', {

new cdk.CfnOutput(stack, 'LoadBalancerDNS', { value: lb.loadBalancerDnsName, });

app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/ecs/ecs-service-with-logging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ const app = new cdk.App();

new WillkommenECS(app, 'Willkommen');

app.run();
app.synth();
460 changes: 230 additions & 230 deletions typescript/ecs/ecs-service-with-logging/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion typescript/ecs/ecs-service-with-task-networking/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ new ecs.Ec2Service(stack, 'awsvpc-ecs-demo-service', {
securityGroup,
});

app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/ecs/ecs-service-with-task-placement/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ const service = new ecs.Ec2Service(stack, "Service", {
service.placePackedBy(ecs.BinPackResource.Memory);
service.placeSpreadAcross(ecs.BuiltInAttributes.AvailabilityZone);

app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/ecs/fargate-load-balanced-service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ const app = new cdk.App();

new BonjourFargate(app, 'Bonjour');

app.run();
app.synth();
2 changes: 1 addition & 1 deletion typescript/ecs/fargate-service-with-auto-scaling/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ const app = new cdk.App();

new AutoScalingFargateService(app, 'aws-fargate-application-autoscaling');

app.run();
app.synth();
Loading

0 comments on commit 4487f80

Please sign in to comment.