Class CustomResourceProvider
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudformation.CustomResourceProvider
- All Implemented Interfaces:
ICustomResourceProvider
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.609Z")
@Stability(Deprecated)
@Deprecated
public class CustomResourceProvider
extends software.amazon.jsii.JsiiObject
implements ICustomResourceProvider
Deprecated.
use core.CustomResource instead
(deprecated) Represents a provider for an AWS CloudFormation custom resources.
Example:
import software.amazon.awscdk.services.cloudformation.*; import software.amazon.awscdk.services.lambda.*; Function myFunction; // invoke an AWS Lambda function when a lifecycle event occurs: CustomResourceProvider provider = CustomResourceProvider.fromLambda(myFunction);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudformation.ICustomResourceProvider
ICustomResourceProvider.Jsii$Default, ICustomResourceProvider.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
CustomResourceProvider
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
CustomResourceProvider
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.static CustomResourceProvider
fromLambda
(IFunction handler) Deprecated.static CustomResourceProvider
Deprecated.Deprecated.static CustomResourceProvider
Deprecated.usefromLambda
static CustomResourceProvider
Deprecated.usefromTopic
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 software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CustomResourceProvider
protected CustomResourceProvider(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
CustomResourceProvider
protected CustomResourceProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.
-
-
Method Details
-
fromLambda
@Stability(Deprecated) @Deprecated @NotNull public static CustomResourceProvider fromLambda(@NotNull IFunction handler) Deprecated.(deprecated) The Lambda provider that implements this custom resource.We recommend using a lambda.SingletonFunction for this.
- Parameters:
handler
- This parameter is required.
-
fromTopic
@Stability(Deprecated) @Deprecated @NotNull public static CustomResourceProvider fromTopic(@NotNull ITopic topic) Deprecated.(deprecated) The SNS Topic for the provider that implements this custom resource.- Parameters:
topic
- This parameter is required.
-
lambda
@Stability(Deprecated) @Deprecated @NotNull public static CustomResourceProvider lambda(@NotNull IFunction handler) Deprecated.usefromLambda
(deprecated) Use AWS Lambda as a provider.- Parameters:
handler
- This parameter is required.
-
topic
@Stability(Deprecated) @Deprecated @NotNull public static CustomResourceProvider topic(@NotNull ITopic topic) Deprecated.usefromTopic
(deprecated) Use an SNS topic as the provider.- Parameters:
topic
- This parameter is required.
-
bind
@Stability(Deprecated) @Deprecated @NotNull public CustomResourceProviderConfig bind(@NotNull Construct __) Deprecated.(deprecated) Called when this provider is used by aCustomResource
.- Specified by:
bind
in interfaceICustomResourceProvider
- Parameters:
_
- This parameter is required.- Returns:
- provider configuration
-
getServiceToken
Deprecated.(deprecated) the ServiceToken which contains the ARN for this provider.
-