withPipelineStepFactory
Method
interface ContainerResource { // ... omitted for brevity withPipelineStepFactory( stepName: string, callback: callback, dependsOn?: string[], requiredBy?: string[], tags?: string[], description?: string): IResource;}Signature
method
withPipelineStepFactory builderAdds a pipeline step to the resource that will be executed during deployment.
withPipelineStepFactory(stepName: string, callback: (arg: PipelineStepContext) => Promise<void>, dependsOn?: string[], requiredBy?: string[], tags?: string[], description?: string): IResourceParameters
stepName stringThe unique name of the pipeline step.callback(arg: PipelineStepContext) => Promise<void> The callback to execute when the step runs.dependsOn string[]optionalOptional step names that this step depends on.requiredBy string[]optionalOptional step names that require this step.tagsstring[]optionalOptional tags that categorize this step.descriptionstringoptionalAn optional human-readable description of the step.Returns
IResource Applies to
This method applies to the following types: