Package org.cdk8s.plus24
Interface IResource.Jsii$Default
-
- All Superinterfaces:
IApiResource
,IApiResource.Jsii$Default
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IClusterRole.Jsii$Default
,IConfigMap.Jsii$Default
,IPersistentVolume.Jsii$Default
,IPersistentVolumeClaim.Jsii$Default
,IRole.Jsii$Default
,ISecret.Jsii$Default
,IServiceAccount.Jsii$Default
- All Known Implementing Classes:
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:
- IResource
@Internal public static interface IResource.Jsii$Default extends IResource, IApiResource.Jsii$Default, software.constructs.IConstruct.Jsii$Default
Internal default implementation forIResource
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.IApiResource
IApiResource.Jsii$Default, IApiResource.Jsii$Proxy
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.IResource
IResource.Jsii$Default, IResource.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
getApiVersion()
The object's API version (e.g.default String
getKind()
The object kind (e.g.default String
getName()
The Kubernetes name of this resource.default software.constructs.Node
getNode()
The tree node.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
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()
The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
-
getApiGroup
@Stability(Stable) @NotNull default String getApiGroup()
The group portion of the API version (e.g. `authorization.k8s.io`).- Specified by:
getApiGroup
in interfaceIApiResource
- Specified by:
getApiGroup
in interfaceIApiResource.Jsii$Default
-
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
- Specified by:
getResourceType
in interfaceIApiResource.Jsii$Default
- 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
- Specified by:
getResourceName
in interfaceIApiResource.Jsii$Default
-
getApiVersion
@Stability(Stable) @NotNull default String getApiVersion()
The object's API version (e.g. "authorization.k8s.io/v1").- Specified by:
getApiVersion
in interfaceIResource
-
getKind
@Stability(Stable) @NotNull default String getKind()
The object kind (e.g. "Deployment").
-
-