Package com.cloudforge.core.annotation
Annotation Interface DeploymentContext
Annotation to extract specific values from DeploymentContext.
Example usage:
@DeploymentContext("region")
private String region;
@DeploymentContext("env")
private String environment;
@DeploymentContext("wafEnabled")
private boolean wafEnabled;
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe property name to extract from DeploymentContext. Valid values include: region, env, tier, domain, subdomain, fqdn, networkMode, wafEnabled, cloudfront, lbType, authMode, instanceType, enableMonitoring, enableEncryption, logRetentionDays, cpu, memory, etc.- Returns:
- the property name to extract
- Default:
""
-