public static final class CommonPipelineInvokeActionProps.Builder extends Object
CommonPipelineInvokeActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CommonPipelineInvokeActionProps |
build()
Builds the configured instance.
|
CommonPipelineInvokeActionProps.Builder |
withAddPutJobResultPolicy(Boolean value)
Sets the value of AddPutJobResultPolicy
|
CommonPipelineInvokeActionProps.Builder |
withRunOrder(Number value)
Sets the value of RunOrder
|
CommonPipelineInvokeActionProps.Builder |
withUserParameters(Object value)
Sets the value of UserParameters
|
public CommonPipelineInvokeActionProps.Builder withAddPutJobResultPolicy(@Nullable Boolean value)
value - Adds the "codepipeline:PutJobSuccessResult" and
"codepipeline:PutJobFailureResult" for '*' resource to the Lambda
execution role policy.
NOTE: the reason we can't add the specific pipeline ARN as a resource is
to avoid a cyclic dependency between the pipeline and the Lambda function
(the pipeline references) the Lambda and the Lambda needs permissions on
the pipeline.thispublic CommonPipelineInvokeActionProps.Builder withUserParameters(@Nullable Object value)
value - String to be used in the event data parameter passed to the Lambda
function
See an example JSON event in the CodePipeline documentation.
https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-invoke-lambda-function.html#actions-invoke-lambda-function-json-event-examplethispublic CommonPipelineInvokeActionProps.Builder withRunOrder(@Nullable Number value)
value - The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.thispublic CommonPipelineInvokeActionProps build()
CommonPipelineInvokeActionPropsNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.