@@ -45,7 +45,7 @@ export class CoreAppPlaneStack extends cdk.Stack {
4545 partitionKey : { name : 'tenantId' , type : AttributeType . STRING }
4646 } ) ;
4747
48- const provisioningJobRunnerProps = {
48+ const provisioningScriptJobProps = {
4949 permissions : PolicyDocument . fromJson (
5050 JSON . parse ( `
5151{
@@ -82,7 +82,7 @@ export class CoreAppPlaneStack extends cdk.Stack {
8282 eventManager : props . eventManager
8383 } ;
8484
85- const deprovisioningJobRunnerProps = {
85+ const deprovisioningScriptJobProps = {
8686 permissions : PolicyDocument . fromJson (
8787 JSON . parse ( `
8888{
@@ -114,17 +114,17 @@ export class CoreAppPlaneStack extends cdk.Stack {
114114 eventManager : props . eventManager
115115 } ;
116116
117- const provisioningJobRunner : sbt . BashJobRunner = new sbt . BashJobRunner ( this ,
118- 'provisioningJobRunner ' , provisioningJobRunnerProps
117+ const provisioningScriptJob : sbt . ProvisioningScriptJob = new sbt . ProvisioningScriptJob ( this ,
118+ 'provisioningScriptJob ' , provisioningScriptJobProps
119119 ) ;
120120
121- const deprovisioningJobRunner : sbt . BashJobRunner = new sbt . BashJobRunner ( this ,
122- 'deprovisioningJobRunner ' , deprovisioningJobRunnerProps
121+ const deprovisioningScriptJob : sbt . ProvisioningScriptJob = new sbt . DeprovisioningScriptJob ( this ,
122+ 'deprovisioningScriptJob ' , deprovisioningScriptJobProps
123123 ) ;
124124
125125 new sbt . CoreApplicationPlane ( this , 'coreappplane-sbt' , {
126126 eventManager : props . eventManager ,
127- jobRunnersList : [ provisioningJobRunner , deprovisioningJobRunner ]
127+ scriptJobs : [ provisioningScriptJob , deprovisioningScriptJob ]
128128 } ) ;
129129
130130 const staticSite = new StaticSite ( this , 'TenantWebUI' , {
0 commit comments