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 Detail

      • ProviderResource

        public ProviderResource​(java.lang.String aPackage,
                                java.lang.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​(java.lang.String aPackage,
                                   java.lang.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