@Stability(value=Stable) public static final class LambdaInvokeActionProps.Builder extends Object
LambdaInvokeActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LambdaInvokeActionProps.Builder |
actionName(String actionName)
Sets the value of ActionName
|
LambdaInvokeActionProps |
build()
Builds the configured instance.
|
LambdaInvokeActionProps.Builder |
inputs(List<Artifact> inputs)
Sets the value of Inputs
|
LambdaInvokeActionProps.Builder |
lambda(IFunction lambda)
Sets the value of Lambda
|
LambdaInvokeActionProps.Builder |
outputs(List<Artifact> outputs)
Sets the value of Outputs
|
LambdaInvokeActionProps.Builder |
role(IRole role)
Sets the value of Role
|
LambdaInvokeActionProps.Builder |
runOrder(Number runOrder)
Sets the value of RunOrder
|
LambdaInvokeActionProps.Builder |
userParameters(Map<String,Object> userParameters)
Sets the value of UserParameters
|
@Stability(value=Stable) public LambdaInvokeActionProps.Builder lambda(IFunction lambda)
lambda - The lambda function to invoke. This parameter is required.this@Stability(value=Stable) public LambdaInvokeActionProps.Builder inputs(List<Artifact> inputs)
inputs - The optional input Artifacts of the Action. A Lambda Action can have up to 5 inputs. The inputs will appear in the event passed to the Lambda, under the `'CodePipeline.job'.data.inputArtifacts` path.this@Stability(value=Stable) public LambdaInvokeActionProps.Builder outputs(List<Artifact> outputs)
outputs - The optional names of the output Artifacts of the Action. A Lambda Action can have up to 5 outputs. The outputs will appear in the event passed to the Lambda, under the `'CodePipeline.job'.data.outputArtifacts` path. It is the responsibility of the Lambda to upload ZIP files with the Artifact contents to the provided locations.this@Stability(value=Stable) public LambdaInvokeActionProps.Builder userParameters(Map<String,Object> userParameters)
userParameters - A set of key-value pairs that will be accessible to the invoked Lambda inside the event that the Pipeline will call it with.this@Stability(value=Stable) public LambdaInvokeActionProps.Builder role(IRole role)
role - The Role in which context's this Action will be executing in. The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your IAction.bind method in the ActionBindOptions.role property.this@Stability(value=Stable) public LambdaInvokeActionProps.Builder actionName(String actionName)
actionName - The physical, human-readable name of the Action. Not that Action names must be unique within a single Stage. This parameter is required.this@Stability(value=Stable) public LambdaInvokeActionProps.Builder runOrder(Number runOrder)
runOrder - The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute.this@Stability(value=Stable) public LambdaInvokeActionProps build()
LambdaInvokeActionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.