Interface SecretKeySelector

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    SecretKeySelector.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)",
               date="2022-11-24T11:18:29.070Z")
    @Stability(Stable)
    public interface SecretKeySelector
    extends software.amazon.jsii.JsiiSerializable
    SecretKeySelector selects a key of a Secret.
    • Method Detail

      • getKey

        @Stability(Stable)
        @NotNull
        String getKey()
        The key of the secret to select from.

        Must be a valid secret key.

      • 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 or its key must be defined.