Skip to content

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

Open
@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-taskseffort/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.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions