@justworkflowit/cdk-constructs 0.0.53 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,7 +74,7 @@ class JustWorkflowItConstructs extends constructs_1.Construct {
|
|
|
74
74
|
functionName: `JustWorkflowItDefinitionDeployer-${props.disambiguator}`,
|
|
75
75
|
entry: path.join(__dirname, '../lambda/definitionDeployerLambda.js'),
|
|
76
76
|
handler: 'handler',
|
|
77
|
-
runtime: aws_lambda_1.Runtime.
|
|
77
|
+
runtime: aws_lambda_1.Runtime.NODEJS_20_X,
|
|
78
78
|
timeout: aws_cdk_lib_1.Duration.minutes(5),
|
|
79
79
|
environment: {
|
|
80
80
|
AUTH_SECRET_NAME: secretName,
|
|
@@ -101,7 +101,7 @@ class JustWorkflowItConstructs extends constructs_1.Construct {
|
|
|
101
101
|
provider.node.addDependency(bucketDeployment);
|
|
102
102
|
resource.node.addDependency(bucketDeployment);
|
|
103
103
|
const executionRole = new aws_iam_1.Role(this, 'JustWorkflowItAutomationExecutionRole', {
|
|
104
|
-
roleName: `JustWorkflowItExecutionRole
|
|
104
|
+
roleName: `JustWorkflowItExecutionRole`,
|
|
105
105
|
assumedBy: new aws_iam_1.AccountPrincipal('588738588052'),
|
|
106
106
|
description: 'Role assumed by JustWorkflowIt backend to perform actions inside this account.',
|
|
107
107
|
});
|