Package org.cdk8s.plus25
Class ApiResource
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.ApiResource
-
- All Implemented Interfaces:
IApiEndpoint,IApiResource,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.135Z") @Stability(Stable) public class ApiResource extends software.amazon.jsii.JsiiObject implements IApiResource, IApiEndpoint
Represents information about an API resource type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.IApiEndpoint
IApiEndpoint.Jsii$Default, IApiEndpoint.Jsii$Proxy
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.IApiResource
IApiResource.Jsii$Default, IApiResource.Jsii$Proxy
-
-
Field Summary
Fields Modifier and Type Field Description static ApiResourceAPI_SERVICESAPI resource information for APIService.static ApiResourceBINDINGSAPI resource information for Binding.static ApiResourceCERTIFICATE_SIGNING_REQUESTSAPI resource information for CertificateSigningRequest.static ApiResourceCLUSTER_ROLE_BINDINGSAPI resource information for ClusterRoleBinding.static ApiResourceCLUSTER_ROLESAPI resource information for ClusterRole.static ApiResourceCOMPONENT_STATUSESAPI resource information for ComponentStatus.static ApiResourceCONFIG_MAPSAPI resource information for ConfigMap.static ApiResourceCONTROLLER_REVISIONSAPI resource information for ControllerRevision.static ApiResourceCRON_JOBSAPI resource information for CronJob.static ApiResourceCSI_DRIVERSAPI resource information for CSIDriver.static ApiResourceCSI_NODESAPI resource information for CSINode.static ApiResourceCSI_STORAGE_CAPACITIESAPI resource information for CSIStorageCapacity.static ApiResourceCUSTOM_RESOURCE_DEFINITIONSAPI resource information for CustomResourceDefinition.static ApiResourceDAEMON_SETSAPI resource information for DaemonSet.static ApiResourceDEPLOYMENTSAPI resource information for Deployment.static ApiResourceENDPOINT_SLICESAPI resource information for EndpointSlice.static ApiResourceENDPOINTSAPI resource information for Endpoints.static ApiResourceEVENTSAPI resource information for Event.static ApiResourceFLOW_SCHEMASAPI resource information for FlowSchema.static ApiResourceHORIZONTAL_POD_AUTOSCALERSAPI resource information for HorizontalPodAutoscaler.static ApiResourceINGRESS_CLASSESAPI resource information for IngressClass.static ApiResourceINGRESSESAPI resource information for Ingress.static ApiResourceJOBSAPI resource information for Job.static ApiResourceLEASESAPI resource information for Lease.static ApiResourceLIMIT_RANGESAPI resource information for LimitRange.static ApiResourceLOCAL_SUBJECT_ACCESS_REVIEWSAPI resource information for LocalSubjectAccessReview.static ApiResourceMUTATING_WEBHOOK_CONFIGURATIONSAPI resource information for MutatingWebhookConfiguration.static ApiResourceNAMESPACESAPI resource information for Namespace.static ApiResourceNETWORK_POLICIESAPI resource information for NetworkPolicy.static ApiResourceNODESAPI resource information for Node.static ApiResourcePERSISTENT_VOLUME_CLAIMSAPI resource information for PersistentVolumeClaim.static ApiResourcePERSISTENT_VOLUMESAPI resource information for PersistentVolume.static ApiResourcePOD_DISRUPTION_BUDGETSAPI resource information for PodDisruptionBudget.static ApiResourcePOD_TEMPLATESAPI resource information for PodTemplate.static ApiResourcePODSAPI resource information for Pod.static ApiResourcePRIORITY_CLASSESAPI resource information for PriorityClass.static ApiResourcePRIORITY_LEVEL_CONFIGURATIONSAPI resource information for PriorityLevelConfiguration.static ApiResourceREPLICA_SETSAPI resource information for ReplicaSet.static ApiResourceREPLICATION_CONTROLLERSAPI resource information for ReplicationController.static ApiResourceRESOURCE_QUOTASAPI resource information for ResourceQuota.static ApiResourceROLE_BINDINGSAPI resource information for RoleBinding.static ApiResourceROLESAPI resource information for Role.static ApiResourceRUNTIME_CLASSESAPI resource information for RuntimeClass.static ApiResourceSECRETSAPI resource information for Secret.static ApiResourceSELF_SUBJECT_ACCESS_REVIEWSAPI resource information for SelfSubjectAccessReview.static ApiResourceSELF_SUBJECT_RULES_REVIEWSAPI resource information for SelfSubjectRulesReview.static ApiResourceSERVICE_ACCOUNTSAPI resource information for ServiceAccount.static ApiResourceSERVICESAPI resource information for Service.static ApiResourceSTATEFUL_SETSAPI resource information for StatefulSet.static ApiResourceSTORAGE_CLASSESAPI resource information for StorageClass.static ApiResourceSUBJECT_ACCESS_REVIEWSAPI resource information for SubjectAccessReview.static ApiResourceTOKEN_REVIEWSAPI resource information for TokenReview.static ApiResourceVALIDATING_WEBHOOK_CONFIGURATIONSAPI resource information for ValidatingWebhookConfiguration.static ApiResourceVOLUME_ATTACHMENTSAPI resource information for VolumeAttachment.
-
Constructor Summary
Constructors Modifier Constructor Description protectedApiResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedApiResource(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IApiResourceasApiResource()Return the IApiResource this object represents.StringasNonApiResource()Return the non resource url this object represents.static ApiResourcecustom(ApiResourceOptions options)API resource information for a custom resource type.StringgetApiGroup()The group portion of the API version (e.g.StringgetResourceType()The name of the resource type as it appears in the relevant API endpoint.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cdk8s.plus25.IApiResource
getResourceName
-
-
-
-
Field Detail
-
API_SERVICES
@Stability(Stable) public static final ApiResource API_SERVICES
API resource information for APIService.
-
BINDINGS
@Stability(Stable) public static final ApiResource BINDINGS
API resource information for Binding.
-
CERTIFICATE_SIGNING_REQUESTS
@Stability(Stable) public static final ApiResource CERTIFICATE_SIGNING_REQUESTS
API resource information for CertificateSigningRequest.
-
CLUSTER_ROLE_BINDINGS
@Stability(Stable) public static final ApiResource CLUSTER_ROLE_BINDINGS
API resource information for ClusterRoleBinding.
-
CLUSTER_ROLES
@Stability(Stable) public static final ApiResource CLUSTER_ROLES
API resource information for ClusterRole.
-
COMPONENT_STATUSES
@Stability(Stable) public static final ApiResource COMPONENT_STATUSES
API resource information for ComponentStatus.
-
CONFIG_MAPS
@Stability(Stable) public static final ApiResource CONFIG_MAPS
API resource information for ConfigMap.
-
CONTROLLER_REVISIONS
@Stability(Stable) public static final ApiResource CONTROLLER_REVISIONS
API resource information for ControllerRevision.
-
CRON_JOBS
@Stability(Stable) public static final ApiResource CRON_JOBS
API resource information for CronJob.
-
CSI_DRIVERS
@Stability(Stable) public static final ApiResource CSI_DRIVERS
API resource information for CSIDriver.
-
CSI_NODES
@Stability(Stable) public static final ApiResource CSI_NODES
API resource information for CSINode.
-
CSI_STORAGE_CAPACITIES
@Stability(Stable) public static final ApiResource CSI_STORAGE_CAPACITIES
API resource information for CSIStorageCapacity.
-
CUSTOM_RESOURCE_DEFINITIONS
@Stability(Stable) public static final ApiResource CUSTOM_RESOURCE_DEFINITIONS
API resource information for CustomResourceDefinition.
-
DAEMON_SETS
@Stability(Stable) public static final ApiResource DAEMON_SETS
API resource information for DaemonSet.
-
DEPLOYMENTS
@Stability(Stable) public static final ApiResource DEPLOYMENTS
API resource information for Deployment.
-
ENDPOINT_SLICES
@Stability(Stable) public static final ApiResource ENDPOINT_SLICES
API resource information for EndpointSlice.
-
ENDPOINTS
@Stability(Stable) public static final ApiResource ENDPOINTS
API resource information for Endpoints.
-
EVENTS
@Stability(Stable) public static final ApiResource EVENTS
API resource information for Event.
-
FLOW_SCHEMAS
@Stability(Stable) public static final ApiResource FLOW_SCHEMAS
API resource information for FlowSchema.
-
HORIZONTAL_POD_AUTOSCALERS
@Stability(Stable) public static final ApiResource HORIZONTAL_POD_AUTOSCALERS
API resource information for HorizontalPodAutoscaler.
-
INGRESS_CLASSES
@Stability(Stable) public static final ApiResource INGRESS_CLASSES
API resource information for IngressClass.
-
INGRESSES
@Stability(Stable) public static final ApiResource INGRESSES
API resource information for Ingress.
-
JOBS
@Stability(Stable) public static final ApiResource JOBS
API resource information for Job.
-
LEASES
@Stability(Stable) public static final ApiResource LEASES
API resource information for Lease.
-
LIMIT_RANGES
@Stability(Stable) public static final ApiResource LIMIT_RANGES
API resource information for LimitRange.
-
LOCAL_SUBJECT_ACCESS_REVIEWS
@Stability(Stable) public static final ApiResource LOCAL_SUBJECT_ACCESS_REVIEWS
API resource information for LocalSubjectAccessReview.
-
MUTATING_WEBHOOK_CONFIGURATIONS
@Stability(Stable) public static final ApiResource MUTATING_WEBHOOK_CONFIGURATIONS
API resource information for MutatingWebhookConfiguration.
-
NAMESPACES
@Stability(Stable) public static final ApiResource NAMESPACES
API resource information for Namespace.
-
NETWORK_POLICIES
@Stability(Stable) public static final ApiResource NETWORK_POLICIES
API resource information for NetworkPolicy.
-
NODES
@Stability(Stable) public static final ApiResource NODES
API resource information for Node.
-
PERSISTENT_VOLUME_CLAIMS
@Stability(Stable) public static final ApiResource PERSISTENT_VOLUME_CLAIMS
API resource information for PersistentVolumeClaim.
-
PERSISTENT_VOLUMES
@Stability(Stable) public static final ApiResource PERSISTENT_VOLUMES
API resource information for PersistentVolume.
-
POD_DISRUPTION_BUDGETS
@Stability(Stable) public static final ApiResource POD_DISRUPTION_BUDGETS
API resource information for PodDisruptionBudget.
-
POD_TEMPLATES
@Stability(Stable) public static final ApiResource POD_TEMPLATES
API resource information for PodTemplate.
-
PODS
@Stability(Stable) public static final ApiResource PODS
API resource information for Pod.
-
PRIORITY_CLASSES
@Stability(Stable) public static final ApiResource PRIORITY_CLASSES
API resource information for PriorityClass.
-
PRIORITY_LEVEL_CONFIGURATIONS
@Stability(Stable) public static final ApiResource PRIORITY_LEVEL_CONFIGURATIONS
API resource information for PriorityLevelConfiguration.
-
REPLICA_SETS
@Stability(Stable) public static final ApiResource REPLICA_SETS
API resource information for ReplicaSet.
-
REPLICATION_CONTROLLERS
@Stability(Stable) public static final ApiResource REPLICATION_CONTROLLERS
API resource information for ReplicationController.
-
RESOURCE_QUOTAS
@Stability(Stable) public static final ApiResource RESOURCE_QUOTAS
API resource information for ResourceQuota.
-
ROLE_BINDINGS
@Stability(Stable) public static final ApiResource ROLE_BINDINGS
API resource information for RoleBinding.
-
ROLES
@Stability(Stable) public static final ApiResource ROLES
API resource information for Role.
-
RUNTIME_CLASSES
@Stability(Stable) public static final ApiResource RUNTIME_CLASSES
API resource information for RuntimeClass.
-
SECRETS
@Stability(Stable) public static final ApiResource SECRETS
API resource information for Secret.
-
SELF_SUBJECT_ACCESS_REVIEWS
@Stability(Stable) public static final ApiResource SELF_SUBJECT_ACCESS_REVIEWS
API resource information for SelfSubjectAccessReview.
-
SELF_SUBJECT_RULES_REVIEWS
@Stability(Stable) public static final ApiResource SELF_SUBJECT_RULES_REVIEWS
API resource information for SelfSubjectRulesReview.
-
SERVICE_ACCOUNTS
@Stability(Stable) public static final ApiResource SERVICE_ACCOUNTS
API resource information for ServiceAccount.
-
SERVICES
@Stability(Stable) public static final ApiResource SERVICES
API resource information for Service.
-
STATEFUL_SETS
@Stability(Stable) public static final ApiResource STATEFUL_SETS
API resource information for StatefulSet.
-
STORAGE_CLASSES
@Stability(Stable) public static final ApiResource STORAGE_CLASSES
API resource information for StorageClass.
-
SUBJECT_ACCESS_REVIEWS
@Stability(Stable) public static final ApiResource SUBJECT_ACCESS_REVIEWS
API resource information for SubjectAccessReview.
-
TOKEN_REVIEWS
@Stability(Stable) public static final ApiResource TOKEN_REVIEWS
API resource information for TokenReview.
-
VALIDATING_WEBHOOK_CONFIGURATIONS
@Stability(Stable) public static final ApiResource VALIDATING_WEBHOOK_CONFIGURATIONS
API resource information for ValidatingWebhookConfiguration.
-
VOLUME_ATTACHMENTS
@Stability(Stable) public static final ApiResource VOLUME_ATTACHMENTS
API resource information for VolumeAttachment.
-
-
Method Detail
-
custom
@Stability(Stable) @NotNull public static ApiResource custom(@NotNull ApiResourceOptions options)
API resource information for a custom resource type.- Parameters:
options- This parameter is required.
-
asApiResource
@Stability(Stable) @Nullable public IApiResource asApiResource()
Return the IApiResource this object represents.- Specified by:
asApiResourcein interfaceIApiEndpoint
-
asNonApiResource
@Stability(Stable) @Nullable public String asNonApiResource()
Return the non resource url this object represents.- Specified by:
asNonApiResourcein interfaceIApiEndpoint
-
getApiGroup
@Stability(Stable) @NotNull public String getApiGroup()
The group portion of the API version (e.g.authorization.k8s.io).- Specified by:
getApiGroupin interfaceIApiResource
-
getResourceType
@Stability(Stable) @NotNull public String getResourceType()
The name of the resource type as it appears in the relevant API endpoint.Example:
- "pods" or "pods/log"
- Specified by:
getResourceTypein interfaceIApiResource- See Also:
- https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources
-
-