Package org.cdk8s.plus24.k8s
Interface EnvFromSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnvFromSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-05T02:57:36.398Z") @Stability(Stable) public interface EnvFromSource extends software.amazon.jsii.JsiiSerializable
EnvFromSource represents the source of a set of ConfigMaps.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EnvFromSource.Builder
A builder forEnvFromSource
static class
EnvFromSource.Jsii$Proxy
An implementation forEnvFromSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static EnvFromSource.Builder
builder()
default ConfigMapEnvSource
getConfigMapRef()
The ConfigMap to select from.default String
getPrefix()
An optional identifier to prepend to each key in the ConfigMap.default SecretEnvSource
getSecretRef()
The Secret to select from.
-
-
-
Method Detail
-
getConfigMapRef
@Stability(Stable) @Nullable default ConfigMapEnvSource getConfigMapRef()
The ConfigMap to select from.
-
getPrefix
@Stability(Stable) @Nullable default String getPrefix()
An optional identifier to prepend to each key in the ConfigMap.Must be a C_IDENTIFIER.
-
getSecretRef
@Stability(Stable) @Nullable default SecretEnvSource getSecretRef()
The Secret to select from.
-
builder
@Stability(Stable) static EnvFromSource.Builder builder()
- Returns:
- a
EnvFromSource.Builder
ofEnvFromSource
-
-