Package org.cdk8s.plus24
Interface IResource
-
- All Superinterfaces:
IApiResource
,software.constructs.IConstruct
,software.constructs.IDependable
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IClusterRole
,IClusterRole.Jsii$Default
,IConfigMap
,IConfigMap.Jsii$Default
,IPersistentVolume
,IPersistentVolume.Jsii$Default
,IPersistentVolumeClaim
,IPersistentVolumeClaim.Jsii$Default
,IResource.Jsii$Default
,IRole
,IRole.Jsii$Default
,ISecret
,ISecret.Jsii$Default
,IServiceAccount
,IServiceAccount.Jsii$Default
- All Known Implementing Classes:
AbstractPod
,AwsElasticBlockStorePersistentVolume
,AzureDiskPersistentVolume
,BasicAuthSecret
,ClusterRole
,ClusterRoleBinding
,ConfigMap
,CronJob
,DaemonSet
,Deployment
,DockerConfigSecret
,GCEPersistentDiskPersistentVolume
,HorizontalPodAutoscaler
,IClusterRole.Jsii$Proxy
,IConfigMap.Jsii$Proxy
,Ingress
,IPersistentVolume.Jsii$Proxy
,IPersistentVolumeClaim.Jsii$Proxy
,IResource.Jsii$Proxy
,IRole.Jsii$Proxy
,ISecret.Jsii$Proxy
,IServiceAccount.Jsii$Proxy
,Job
,Namespace
,NetworkPolicy
,PersistentVolume
,PersistentVolumeClaim
,Pod
,Resource
,Role
,RoleBinding
,Secret
,Service
,ServiceAccount
,ServiceAccountTokenSecret
,SshAuthSecret
,StatefulSet
,TlsSecret
,Workload
@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-26T02:32:34.848Z") @Stability(Stable) public interface IResource extends software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, IApiResource
Represents a resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IResource.Jsii$Default
Internal default implementation forIResource
.static class
IResource.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getApiVersion()
The object's API version (e.g.String
getKind()
The object kind (e.g.String
getName()
The Kubernetes name of this resource.-
Methods inherited from interface org.cdk8s.plus24.IApiResource
getApiGroup, getResourceName, getResourceType
-
-
-
-
Method Detail
-
getApiVersion
@Stability(Stable) @NotNull String getApiVersion()
The object's API version (e.g. "authorization.k8s.io/v1").
-
getKind
@Stability(Stable) @NotNull String getKind()
The object kind (e.g. "Deployment").
-
getName
@Stability(Stable) @NotNull String getName()
The Kubernetes name of this resource.
-
-