Interface ComponentDocumentPhase
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComponentDocumentPhase.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.442Z")
@Stability(Experimental)
public interface ComponentDocumentPhase
extends software.amazon.jsii.JsiiSerializable
(experimental) The phase to run in a specific workflow in an image build, which define the steps to execute to customize or test the instance.
Example:
ComponentDocumentPhase phase = ComponentDocumentPhase.builder()
.name(ComponentPhaseName.BUILD)
.steps(List.of(ComponentDocumentStep.builder()
.name("configure-app")
.action(ComponentAction.CREATE_FILE)
.inputs(ComponentStepInputs.fromObject(Map.of(
"path", "/etc/myapp/config.json",
"content", "{\"env\": \"production\"}")))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forComponentDocumentPhasestatic final classAn implementation forComponentDocumentPhase -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
(experimental) The name of the phase. -
getSteps
(experimental) The list of steps to execute to modify or test the build/test instance. -
builder
- Returns:
- a
ComponentDocumentPhase.BuilderofComponentDocumentPhase
-