Skip to content

Commit

Permalink
feat(wip): replace deprecated apis
Browse files Browse the repository at this point in the history
  • Loading branch information
stekern committed Jan 14, 2022
1 parent 894a54f commit 68436e9
Show file tree
Hide file tree
Showing 10 changed files with 3,614 additions and 209 deletions.
252 changes: 95 additions & 157 deletions __snapshots__/app/cdk-pipeline-cdk-source.template.json

Large diffs are not rendered by default.

23 changes: 5 additions & 18 deletions __snapshots__/app/cdk-pipeline-cloud-assembly.template.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions __snapshots__/app/manifest.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/cdk-pipelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class LifligCdkPipelineCdkSourceStack extends Stack {
sourceType: "cdk-source",
})

pipeline.cdkPipeline.addApplicationStage(new ExampleStage(this, "example"))
pipeline.cdkPipeline.addStage(new ExampleStage(this, "example"))
}
}

Expand All @@ -48,6 +48,6 @@ export class LifligCdkPipelineCloudAssemblyStack extends Stack {
sourceType: "cloud-assembly",
})

pipeline.cdkPipeline.addApplicationStage(new ExampleStage(this, "example"))
pipeline.cdkPipeline.addStage(new ExampleStage(this, "example"))
}
}
4 changes: 2 additions & 2 deletions src/alarms/service-alarms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class ServiceAlarms extends cdk.Construct {
namespace: "AWS/ApplicationELB",
statistic: "Average",
period: cdk.Duration.seconds(60),
dimensions: {
dimensionsMap: {
TargetGroup: props.targetGroupFullName,
LoadBalancer: props.loadBalancerFullName,
},
Expand All @@ -108,7 +108,7 @@ export class ServiceAlarms extends cdk.Construct {
namespace: "AWS/ApplicationELB",
statistic: "Sum",
period: cdk.Duration.seconds(60),
dimensions: {
dimensionsMap: {
TargetGroup: props.targetGroupFullName,
LoadBalancer: props.loadBalancerFullName,
},
Expand Down
Loading

0 comments on commit 68436e9

Please sign in to comment.