Package org.cdk8s.plus22
Interface IResource
-
- All Superinterfaces:
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,DaemonSet,Deployment,DockerConfigSecret,GCEPersistentDiskPersistentVolume,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.67.0 (build 2c027f5)", date="2022-09-11T03:06:35.011Z") @Stability(Stable) public interface IResource extends software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct
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.
-
-