Package org.cdk8s.plus24.k8s
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ResourceAttributes.Builder
A builder forResourceAttributes
static class
ResourceAttributes.Jsii$Proxy
An implementation forResourceAttributes
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ResourceAttributes.Builder
builder()
default String
getGroup()
Group is the API Group of the Resource.default String
getName()
Name is the name of the resource being requested for a "get" or deleted for a "delete".default String
getNamespace()
Namespace is the namespace of the action being requested.default String
getResource()
Resource is one of the existing resource types.default String
getSubresource()
Subresource is one of the existing resource types.default String
getVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.default String
getVersion()
Version is the API Version of the Resource.
-
-
-
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.
-
builder
@Stability(Stable) static ResourceAttributes.Builder builder()
- Returns:
- a
ResourceAttributes.Builder
ofResourceAttributes
-
-