Skip to content

Commit

Permalink
Update cdk/typescript SAR semantic version to latest, commented out a…
Browse files Browse the repository at this point in the history
…ll CloudFormation parameters
  • Loading branch information
alexcasalboni committed Feb 29, 2024
1 parent dca57a9 commit 57dc8ba
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions cdk/typescript/lib/the-lambda-power-tuner-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,27 @@ 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
// https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:451282441545:applications~aws-lambda-power-tuning
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,
Expand Down

0 comments on commit 57dc8ba

Please sign in to comment.