From 57dc8ba70dbc4198d590ff02c618a429083eea0d Mon Sep 17 00:00:00 2001 From: Alex Casalboni Date: Thu, 29 Feb 2024 17:11:02 +0100 Subject: [PATCH] Update cdk/typescript SAR semantic version to latest, commented out all CloudFormation parameters --- .../lib/the-lambda-power-tuner-stack.ts | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/cdk/typescript/lib/the-lambda-power-tuner-stack.ts b/cdk/typescript/lib/the-lambda-power-tuner-stack.ts index d4e38b3..61027cd 100644 --- a/cdk/typescript/lib/the-lambda-power-tuner-stack.ts +++ b/cdk/typescript/lib/the-lambda-power-tuner-stack.ts @@ -7,14 +7,15 @@ export class TheLambdaPowerTunerStack extends cdk.Stack { constructor(scope: Construct, id: string, props?: cdk.StackProps) { super(scope, id, props); - let powerValues = '128,256,512,1024,1536,3008'; - let lambdaResource = "*"; - //let visualizationURL: https://lambda-power-tuning.show/; # you can use your own visualization URL - //let totalExecutionTimeout: 300; # execution timeout for individual steps - //let permissionsBoundary: ARN; - //let payloadS3Bucket: my-bucket; - //let payloadS3Key: my-key.json; - //let stateMachineNamePrefix: my-custom-name-prefix; + // Custom parameters (optional) + // let powerValues = '128,256,512,1024,1536,3008'; + // let lambdaResource = "*"; + // let visualizationURL: https://lambda-power-tuning.show/; + // let totalExecutionTimeout: 300; + // let permissionsBoundary: ARN; + // let payloadS3Bucket: my-bucket; + // let payloadS3Key: my-key.json; + // let stateMachineNamePrefix: my-custom-name-prefix; // Deploy the aws-lambda-powertuning application from the Serverless Application Repository @@ -22,11 +23,11 @@ export class TheLambdaPowerTunerStack extends cdk.Stack { new sam.CfnApplication(this, 'powerTuner', { location: { applicationId: 'arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning', - semanticVersion: '4.2.0' + semanticVersion: '4.3.4' }, parameters: { - "lambdaResource": lambdaResource, - "PowerValues": powerValues, + //"lambdaResource": lambdaResource, + //"PowerValues": powerValues, //"visualizationURL": visualizationURL, //"totalExecutionTimeout": totalExecutionTimeout, //"permissionsBoundary": permissionsBoundary,