Package org.cdk8s.plus20
Interface IResource
-
- All Superinterfaces:
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,DaemonSet,Deployment,DockerConfigSecret,GCEPersistentDiskPersistentVolume,IClusterRole.Jsii$Proxy,IConfigMap.Jsii$Proxy,IngressV1Beta1,IPersistentVolume.Jsii$Proxy,IPersistentVolumeClaim.Jsii$Proxy,IResource.Jsii$Proxy,IRole.Jsii$Proxy,ISecret.Jsii$Proxy,IServiceAccount.Jsii$Proxy,Job,PersistentVolume,PersistentVolumeClaim,Pod,Resource,Role,RoleBinding,Secret,Service,ServiceAccount,ServiceAccountTokenSecret,SshAuthSecret,StatefulSet,TlsSecret,Workload
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-05-18T23:19:48.603Z") @Stability(Stable) public interface IResource extends software.amazon.jsii.JsiiSerializable
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 StringgetApiGroup()The group portion of the API version (e.g.StringgetApiVersion()The object's API version (e.g.StringgetKind()The object kind (e.g.StringgetName()The Kubernetes name of this resource.
-
-
-
Method Detail
-
getApiGroup
@Stability(Stable) @NotNull String getApiGroup()
The group portion of the API version (e.g. "authorization.k8s.io").
-
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.
-
-