Skip to content

(aws-stepfunctions-tasks): (add support for buildspecOverride in CodeBuildStartBuild task) #27846

@saudkhanzada

Description

@saudkhanzada

Describe the feature

Currently, there is no way to override buildspec when using the CodeBuildStartBuild task.

Use Case

I want to add a prop to configure buildspecOverride when using the CodeBuildStartBuild task.

Proposed Solution

Add a prop to configure buildspecOverride when using CodeBuildStartBuild task.

const task = new CodeBuildStartBuild(stack, "Task", {
  project: codebuildProject,
  integrationPattern: sfn.IntegrationPattern.RUN_JOB,
  buildspecOverride: codebuild.BuildSpec.fromSourceFilename('buildspec.yml'),
});

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

v2.104.0

Environment details (OS name and version, etc.)

Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-stepfunctions-tasksclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.effort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.p2response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions