Skip to content

Commit

Permalink
batchEnabled => executeBatchBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
tjenkinson committed Nov 30, 2020
1 parent 6ae4792 commit 65d5955
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-codepipeline-actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const buildAction = new codepipeline_actions.CodeBuildAction({
project,
input: sourceOutput,
outputs: [new codepipeline.Artifact()], // optional
batchEnabled: true // optional, defaults to false
executeBatchBuild: true // optional, defaults to false
});

new codepipeline.Pipeline(this, 'MyPipeline', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface CodeBuildActionProps extends codepipeline.CommonAwsActionProps
*
* @default false
*/
readonly batchEnabled?: boolean;
readonly executeBatchBuild?: boolean;
}

/**
Expand Down Expand Up @@ -183,7 +183,7 @@ export class CodeBuildAction extends Action {
// lazy, because the Artifact name might be generated lazily
configuration.PrimarySource = cdk.Lazy.string({ produce: () => this.props.input.artifactName });
}
if (this.props.batchEnabled) {
if (this.props.executeBatchBuild) {
configuration.BatchEnabled = 'true';
}
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export = {
actionName: 'CodeBuild',
input: sourceOutput,
project: codeBuildProject,
batchEnabled: true,
executeBatchBuild: true,
}),
],
},
Expand Down

0 comments on commit 65d5955

Please sign in to comment.