Package org.cdk8s.plus25
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.plus25.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.plus25.IResource
IResource.Jsii$Default, IResource.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 StringgetApiVersion()The object's API version (e.g.default StringgetKind()The object kind (e.g.default StringgetName()The Kubernetes name of this resource.default software.constructs.NodegetNode()The tree node.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
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()
The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein 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:
getApiGroupin interfaceIApiResource- Specified by:
getApiGroupin 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:
getResourceTypein interfaceIApiResource- Specified by:
getResourceTypein 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:
getResourceNamein interfaceIApiResource- Specified by:
getResourceNamein interfaceIApiResource.Jsii$Default
-
getApiVersion
@Stability(Stable) @NotNull default String getApiVersion()
The object's API version (e.g. "authorization.k8s.io/v1").- Specified by:
getApiVersionin interfaceIResource
-
getKind
@Stability(Stable) @NotNull default String getKind()
The object kind (e.g. "Deployment").
-
-