Interface JobCallingReusableWorkflow
-
- All Superinterfaces:
CommonJobDefinition,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
JobCallingReusableWorkflow.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.106Z") @Stability(Experimental) public interface JobCallingReusableWorkflow extends software.amazon.jsii.JsiiSerializable, CommonJobDefinition
(experimental) A GitHub Workflow Job calling a reusable workflow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJobCallingReusableWorkflow.BuilderA builder forJobCallingReusableWorkflowstatic classJobCallingReusableWorkflow.Jsii$ProxyAn implementation forJobCallingReusableWorkflow
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static JobCallingReusableWorkflow.Builderbuilder()default ObjectgetSecrets()(experimental) When a job is used to call a reusable workflow, you can use secrets to provide a map of secrets that are passed to the called workflow.StringgetUses()(experimental) The location and version of a reusable workflow file to run as a job.default Map<String,Object>getWith()(experimental) When a job is used to call a reusable workflow, you can use with to provide a map of inputs that are passed to the called workflow.-
Methods inherited from interface io.github.cdklabs.projen.github.workflows.CommonJobDefinition
getConcurrency, getIfValue, getName, getNeeds, getPermissions, getStrategy
-
-
-
-
Method Detail
-
getUses
@Stability(Experimental) @NotNull String getUses()
(experimental) The location and version of a reusable workflow file to run as a job.
-
getSecrets
@Stability(Experimental) @Nullable default Object getSecrets()
(experimental) When a job is used to call a reusable workflow, you can use secrets to provide a map of secrets that are passed to the called workflow.Use the 'inherit' keyword to pass all the calling workflow's secrets to the called workflow
-
getWith
@Stability(Experimental) @Nullable default Map<String,Object> getWith()
(experimental) When a job is used to call a reusable workflow, you can use with to provide a map of inputs that are passed to the called workflow.Allowed expression contexts:
github, andneeds.
-
builder
@Stability(Experimental) static JobCallingReusableWorkflow.Builder builder()
- Returns:
- a
JobCallingReusableWorkflow.BuilderofJobCallingReusableWorkflow
-
-