Interface TokenRequest

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-06T02:54:46.021Z")
    @Stability(Stable)
    public interface TokenRequest
    extends software.amazon.jsii.JsiiSerializable
    TokenRequest contains parameters of a service account token.
    • Method Detail

      • getAudience

        @Stability(Stable)
        @NotNull
        String getAudience()
        Audience is the intended audience of the token in "TokenRequestSpec".

        It will default to the audiences of kube apiserver.

      • getExpirationSeconds

        @Stability(Stable)
        @Nullable
        default Number getExpirationSeconds()
        ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec".

        It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".