Package org.cdk8s.plus25.k8s
Interface ResourceAttributes
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResourceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.804Z") @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 classResourceAttributes.BuilderA builder forResourceAttributesstatic classResourceAttributes.Jsii$ProxyAn implementation forResourceAttributes
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ResourceAttributes.Builderbuilder()default StringgetGroup()Group is the API Group of the Resource.default StringgetName()Name is the name of the resource being requested for a "get" or deleted for a "delete".default StringgetNamespace()Namespace is the namespace of the action being requested.default StringgetResource()Resource is one of the existing resource types.default StringgetSubresource()Subresource is one of the existing resource types.default StringgetVerb()Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.default StringgetVersion()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.BuilderofResourceAttributes
-
-