Package org.cdk8s.plus25
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.88.0 (build eaabd08)", date="2023-09-11T06:17:58.317Z") @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 interfaceIResource.Jsii$DefaultInternal default implementation forIResource.static classIResource.Jsii$ProxyA proxy class which represents a concrete javascript instance of this type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetApiVersion()The object's API version (e.g.StringgetKind()The object kind (e.g.StringgetName()The Kubernetes name of this resource.-
Methods inherited from interface org.cdk8s.plus25.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.
-
-