Class CustomResource

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.599Z") @Stability(Deprecated) @Deprecated public class CustomResource extends CustomResource
Deprecated.
use core.CustomResource
(deprecated) Deprecated.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudformation.*;
 import software.amazon.awscdk.core.*;
 CustomResourceProvider customResourceProvider;
 Object properties;
 CustomResource customResource = CustomResource.Builder.create(this, "MyCustomResource")
         .provider(customResourceProvider)
         // the properties below are optional
         .properties(Map.of(
                 "propertiesKey", properties))
         .removalPolicy(RemovalPolicy.DESTROY)
         .resourceType("resourceType")
         .build();
 

  • Constructor Details

    • CustomResource

      protected CustomResource(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • CustomResource

      protected CustomResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • CustomResource

      @Stability(Deprecated) @Deprecated public CustomResource(@NotNull Construct scope, @NotNull String id, @NotNull CustomResourceProps props)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.