Enum ComponentPhaseName
java.lang.Object
java.lang.Enum<ComponentPhaseName>
software.amazon.awscdk.services.imagebuilder.alpha.ComponentPhaseName
- All Implemented Interfaces:
Serializable,Comparable<ComponentPhaseName>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.443Z")
@Stability(Experimental)
public enum ComponentPhaseName
extends Enum<ComponentPhaseName>
(experimental) The phases of a component document.
Example:
Component component = Component.Builder.create(this, "JsonComponent")
.platform(Platform.LINUX)
.data(ComponentData.fromJsonObject(Map.of(
"schemaVersion", ComponentSchemaVersion.V1_0,
"phases", List.of(Map.of(
"name", ComponentPhaseName.BUILD,
"steps", List.of(Map.of(
"name", "configure-app",
"action", ComponentAction.CREATE_FILE,
"inputs", Map.of(
"path", "/etc/myapp/config.json",
"content", "{\"env\": \"production\"}"))))))))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(experimental) Build phase of the component.(experimental) Test phase of the component, executed directly on the instance which is used to build the container image.(experimental) Test phase of the component.(experimental) Validate phase of the component. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentPhaseNameReturns the enum constant of this type with the specified name.static ComponentPhaseName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BUILD
(experimental) Build phase of the component.This phase is run during the BUILDING phase of the image build.
-
CONTAINER_HOST_TEST
(experimental) Test phase of the component, executed directly on the instance which is used to build the container image.This phase is run during the TESTING phase of the image build.
-
TEST
(experimental) Test phase of the component.This phase is run during the TESTING phase of the image build.
-
VALIDATE
(experimental) Validate phase of the component.This phase is run during the BUILDING phase of the image build, after the build step of the component is executed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-