Package org.cdk8s.plus25.k8s
Interface EnvFromSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnvFromSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.515Z") @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 classEnvFromSource.BuilderA builder forEnvFromSourcestatic classEnvFromSource.Jsii$ProxyAn implementation forEnvFromSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static EnvFromSource.Builderbuilder()default ConfigMapEnvSourcegetConfigMapRef()The ConfigMap to select from.default StringgetPrefix()An optional identifier to prepend to each key in the ConfigMap.default SecretEnvSourcegetSecretRef()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.BuilderofEnvFromSource
-
-