Package org.cdk8s.plus25.k8s
Interface SecretEnvSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SecretEnvSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.814Z") @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 classSecretEnvSource.BuilderA builder forSecretEnvSourcestatic classSecretEnvSource.Jsii$ProxyAn implementation forSecretEnvSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SecretEnvSource.Builderbuilder()default StringgetName()Name of the referent.default BooleangetOptional()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.BuilderofSecretEnvSource
-
-