Class ProviderResource


@ParametersAreNonnullByDefault public class ProviderResource extends CustomResource
A @see Resource that implements CRUD operations for other custom resources. These resources are managed similarly to other resources, including the usual diffing and update semantics.
  • Constructor Details

    • ProviderResource

      public ProviderResource(String aPackage, String name, ResourceArgs args, @Nullable CustomResourceOptions options)
      Creates and registers a new provider resource for a particular package.
      Parameters:
      aPackage - The package associated with this provider
      name - The unique name of the provider
      args - The configuration to use for this provider
      options - A bag of options that control this provider's behavior
    • ProviderResource

      protected ProviderResource(String aPackage, String name, ResourceArgs args, @Nullable CustomResourceOptions options, boolean dependency)
      Creates and registers a new provider resource for a particular package.
      Parameters:
      aPackage - The package associated with this provider
      name - The unique name of the provider
      args - The configuration to use for this provider
      options - A bag of options that control this provider's behavior
      dependency - True if this is a synthetic resource used internally for dependency tracking
    • ProviderResource

      protected ProviderResource(String aPackage, String name, ResourceArgs args, @Nullable CustomResourceOptions options, boolean dependency, @Nullable CompletableFuture<String> packageRef)
      Creates and registers a new provider resource for a particular package.
      Parameters:
      aPackage - The package associated with this provider
      name - The unique name of the provider
      args - The configuration to use for this provider
      options - A bag of options that control this provider's behavior
      dependency - True if this is a synthetic resource used internally for dependency tracking
      packageRef - The package reference to use for this provider