Package eu.cloudhopper.mc.annotations
Class ExtensionKeys
java.lang.Object
eu.cloudhopper.mc.annotations.ExtensionKeys
Defines well-known extension keys and allowed values for use with
Extension.
This utility class provides a structured and type-safe way to reference cloud provider–specific extension keys, such as AWS architecture identifiers, to avoid hardcoding strings in annotations.
These constants can be used in Function.extensions() to configure
deployment-specific parameters, for example:
@Function(
name = "hello",
extensions = {
@Extension(
name = ExtensionKeys.Aws.Architecture.KEY,
value = ExtensionKeys.Aws.Architecture.Values.ARM64
)
}
)
This class is not intended to be instantiated or extended.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAWS-specific extension keys. -
Method Summary