@Stability(value=Experimental) public static final class LambdaInvokeActionProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaInvokeActionProps>
LambdaInvokeActionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public LambdaInvokeActionProps.Builder lambda(IFunction lambda)
LambdaInvokeActionProps.getLambda()lambda - The lambda function to invoke. This parameter is required.this@Stability(value=Experimental) public LambdaInvokeActionProps.Builder inputs(List<? extends Artifact> inputs)
LambdaInvokeActionProps.getInputs()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=Experimental) public LambdaInvokeActionProps.Builder outputs(List<? extends Artifact> outputs)
LambdaInvokeActionProps.getOutputs()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=Experimental) public LambdaInvokeActionProps.Builder userParameters(Map<String,? extends Object> userParameters)
LambdaInvokeActionProps.getUserParameters()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=Experimental) public LambdaInvokeActionProps.Builder role(IRole role)
CommonAwsActionProps.getRole()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 {@link IAction.bind}
method in the {@link ActionBindOptions.role} property.this@Stability(value=Experimental) public LambdaInvokeActionProps.Builder actionName(String actionName)
CommonActionProps.getActionName()actionName - The physical, human-readable name of the Action. This parameter is required.
Note that Action names must be unique within a single Stage.this@Stability(value=Experimental) public LambdaInvokeActionProps.Builder runOrder(Number runOrder)
CommonActionProps.getRunOrder()runOrder - The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.this@Stability(value=Experimental) public LambdaInvokeActionProps.Builder variablesNamespace(String variablesNamespace)
CommonActionProps.getVariablesNamespace()variablesNamespace - The name of the namespace to use for variables emitted by this action.this@Stability(value=Experimental) public LambdaInvokeActionProps build()
build in interface software.amazon.jsii.Builder<LambdaInvokeActionProps>LambdaInvokeActionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.