Interface ResourceClaimSpecV1Alpha2

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ResourceClaimSpecV1Alpha2.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-03T12:13:25.858Z")
    @Stability(Stable)
    public interface ResourceClaimSpecV1Alpha2
    extends software.amazon.jsii.JsiiSerializable
    ResourceClaimSpec defines how a resource is to be allocated.
    • Method Detail

      • getResourceClassName

        @Stability(Stable)
        @NotNull
        String getResourceClassName()
        ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
      • getAllocationMode

        @Stability(Stable)
        @Nullable
        default String getAllocationMode()
        Allocation can start immediately or when a Pod wants to use the resource.

        "WaitForFirstConsumer" is the default.

      • getParametersRef

        @Stability(Stable)
        @Nullable
        default ResourceClaimParametersReferenceV1Alpha2 getParametersRef()
        ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.

        The object must be in the same namespace as the ResourceClaim.