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.

    • 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.