Interface TokenRequest

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

    @Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)",
               date="2023-05-06T02:23:11.055Z")
    @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".