Interface ComponentDocumentStep
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComponentDocumentStep.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.442Z")
@Stability(Experimental)
public interface ComponentDocumentStep
extends software.amazon.jsii.JsiiSerializable
(experimental) The step to run in a specific phase of the image build, which defines the step to execute to customize or test the instance.
Example:
ComponentDocumentStep step = ComponentDocumentStep.builder()
.name("configure-app")
.action(ComponentAction.CREATE_FILE)
.inputs(ComponentStepInputs.fromObject(Map.of(
"path", "/etc/myapp/config.json",
"content", "{\"env\": \"production\"}")))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forComponentDocumentStepstatic final classAn implementation forComponentDocumentStep -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) The action to perform in the step.default ComponentStepIfCondition(experimental) The condition to apply to the step.(experimental) Contains parameters required by the action to run the step.default ComponentDocumentLoopgetLoop()(experimental) A looping construct defining a repeated sequence of instructions.getName()(experimental) The name of the step.default ComponentOnFailure(experimental) Specifies what the step should do in case of failure.default Duration(experimental) The timeout of the step.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
(experimental) The action to perform in the step. -
getInputs
(experimental) Contains parameters required by the action to run the step.- See Also:
-
getName
(experimental) The name of the step. -
getIfValue
(experimental) The condition to apply to the step.If the condition is false, then the step is skipped
Default: - no condition is applied to the step and it gets executed
- See Also:
-
getLoop
(experimental) A looping construct defining a repeated sequence of instructions.Default: None
-
getOnFailure
(experimental) Specifies what the step should do in case of failure.Default: ComponentOnFailure.ABORT
-
getTimeout
(experimental) The timeout of the step.Default: - 120 minutes
-
builder
- Returns:
- a
ComponentDocumentStep.BuilderofComponentDocumentStep
-