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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudformation.ICustomResourceProvider
ICustomResourceProvider.Jsii$Default, ICustomResourceProvider.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCustomResourceProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedCustomResourceProvider(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.static CustomResourceProviderfromLambda(IFunction handler) Deprecated.static CustomResourceProviderDeprecated.Deprecated.static CustomResourceProviderDeprecated.usefromLambdastatic CustomResourceProviderDeprecated.usefromTopicMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
bindin interfaceICustomResourceProvider- Parameters:
_- This parameter is required.- Returns:
- provider configuration
-
getServiceToken
Deprecated.(deprecated) the ServiceToken which contains the ARN for this provider.
-