Interface ResourceAttributes

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-05T02:57:36.720Z")
    @Stability(Stable)
    public interface ResourceAttributes
    extends software.amazon.jsii.JsiiSerializable
    ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface.
    • Method Detail

      • getGroup

        @Stability(Stable)
        @Nullable
        default String getGroup()
        Group is the API Group of the Resource.

        "*" means all.

      • getName

        @Stability(Stable)
        @Nullable
        default String getName()
        Name is the name of the resource being requested for a "get" or deleted for a "delete".

        "" (empty) means all.

      • getNamespace

        @Stability(Stable)
        @Nullable
        default String getNamespace()
        Namespace is the namespace of the action being requested.

        Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview

      • getResource

        @Stability(Stable)
        @Nullable
        default String getResource()
        Resource is one of the existing resource types.

        "*" means all.

      • getSubresource

        @Stability(Stable)
        @Nullable
        default String getSubresource()
        Subresource is one of the existing resource types.

        "" means none.

      • getVerb

        @Stability(Stable)
        @Nullable
        default String getVerb()
        Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.

        "*" means all.

      • getVersion

        @Stability(Stable)
        @Nullable
        default String getVersion()
        Version is the API Version of the Resource.

        "*" means all.