Package org.cdk8s.plus24.k8s
Interface SecretEnvSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SecretEnvSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-31T02:28:42.043Z") @Stability(Stable) public interface SecretEnvSource extends software.amazon.jsii.JsiiSerializable
SecretEnvSource selects a Secret to populate the environment variables with.The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SecretEnvSource.Builder
A builder forSecretEnvSource
static class
SecretEnvSource.Jsii$Proxy
An implementation forSecretEnvSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SecretEnvSource.Builder
builder()
default String
getName()
Name of the referent.default Boolean
getOptional()
Specify whether the Secret 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 Secret must be defined.
-
builder
@Stability(Stable) static SecretEnvSource.Builder builder()
- Returns:
- a
SecretEnvSource.Builder
ofSecretEnvSource
-
-