Package org.cdk8s.plus23.k8s
Interface ConfigMapEnvSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ConfigMapEnvSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.237Z") @Stability(Stable) public interface ConfigMapEnvSource extends software.amazon.jsii.JsiiSerializable
ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigMapEnvSource.Builder
A builder forConfigMapEnvSource
static class
ConfigMapEnvSource.Jsii$Proxy
An implementation forConfigMapEnvSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ConfigMapEnvSource.Builder
builder()
default String
getName()
Name of the referent.default Boolean
getOptional()
Specify whether the ConfigMap must be defined.
-
-
-
Method Detail
-
getName
@Stability(Stable) @Nullable default String getName()
Name of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
getOptional
@Stability(Stable) @Nullable default Boolean getOptional()
Specify whether the ConfigMap must be defined.
-
builder
@Stability(Stable) static ConfigMapEnvSource.Builder builder()
- Returns:
- a
ConfigMapEnvSource.Builder
ofConfigMapEnvSource
-
-