Package org.cdk8s.plus22
Interface IApiResource.Jsii$Default
-
- All Superinterfaces:
IApiResource,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IApiResource.Jsii$Proxy
- Enclosing interface:
- IApiResource
@Internal public static interface IApiResource.Jsii$Default extends IApiResource
Internal default implementation forIApiResource.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.cdk8s.plus22.IApiResource
IApiResource.Jsii$Default, IApiResource.Jsii$Proxy
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringgetApiGroup()The group portion of the API version (e.g.default StringgetResourceName()The unique, namespace-global, name of an object inside the Kubernetes cluster.default StringgetResourceType()The name of a resource type as it appears in the relevant API endpoint.
-
-
-
Method Detail
-
getApiGroup
@Stability(Stable) @NotNull default String getApiGroup()
The group portion of the API version (e.g. `authorization.k8s.io`).- Specified by:
getApiGroupin interfaceIApiResource
-
getResourceType
@Stability(Stable) @NotNull default String getResourceType()
The name of a resource type as it appears in the relevant API endpoint.Example:
- "pods" or "pods/log"
- Specified by:
getResourceTypein interfaceIApiResource- See Also:
- https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources
-
getResourceName
@Stability(Stable) @Nullable default String getResourceName()
The unique, namespace-global, name of an object inside the Kubernetes cluster.If this is omitted, the ApiResource should represent all objects of the given type.
- Specified by:
getResourceNamein interfaceIApiResource
-
-