Package org.cdk8s.plus24
Interface IApiResource.Jsii$Default
-
- All Superinterfaces:
IApiResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IClusterRole.Jsii$Default
,IConfigMap.Jsii$Default
,IPersistentVolume.Jsii$Default
,IPersistentVolumeClaim.Jsii$Default
,IResource.Jsii$Default
,IRole.Jsii$Default
,ISecret.Jsii$Default
,IServiceAccount.Jsii$Default
- All Known Implementing Classes:
IApiResource.Jsii$Proxy
,IClusterRole.Jsii$Proxy
,IConfigMap.Jsii$Proxy
,IPersistentVolume.Jsii$Proxy
,IPersistentVolumeClaim.Jsii$Proxy
,IResource.Jsii$Proxy
,IRole.Jsii$Proxy
,ISecret.Jsii$Proxy
,IServiceAccount.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.plus24.IApiResource
IApiResource.Jsii$Default, IApiResource.Jsii$Proxy
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
getApiGroup()
The group portion of the API version (e.g.default String
getResourceName()
The unique, namespace-global, name of an object inside the Kubernetes cluster.default String
getResourceType()
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:
getApiGroup
in 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:
getResourceType
in 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:
getResourceName
in interfaceIApiResource
-
-