Enum Class DeploymentTarget
- All Implemented Interfaces:
Serializable, Comparable<DeploymentTarget>, Constable
Post-synthesis deployment target for CloudForge templates.
AWS is not driven through the local pipeline — CDK deploys directly to AWS.
MINISTACK and LOCALSTACK use adapter modules that implement
TemplateAdapter and LocalDeployer.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionLowercase id used in deployment context and history (aws,ministack,localstack).static DeploymentTargetfromConfigKey(String key) Parses a wire-format target id (configKey()'s inverse) — case-insensitive, defaults toAWSfor blank input (matching every other target-selector default in this codebase).static DeploymentTargetReturns the enum constant of this class with the specified name.static DeploymentTarget[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AWS
-
MINISTACK
-
LOCALSTACK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
configKey
Lowercase id used in deployment context and history (aws,ministack,localstack). -
fromConfigKey
Parses a wire-format target id (configKey()'s inverse) — case-insensitive, defaults toAWSfor blank input (matching every other target-selector default in this codebase). Unknown non-blank values are a caller error, not silently coerced — accidentally routing a real deploy to the wrong target is exactly the class of bug worth failing loudly on.
-