Class ExtensionKeys

java.lang.Object
eu.cloudhopper.mc.annotations.ExtensionKeys

public final class ExtensionKeys extends Object
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.