@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:07.492Z") @Stability(value=Experimental) public class CustomResourceProvider extends software.amazon.jsii.JsiiObject implements ICustomResourceProvider
software.amazon.jsii.JsiiObject.InitializationModeICustomResourceProvider.Jsii$Default, ICustomResourceProvider.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
CustomResourceProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CustomResourceProvider(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
CustomResourceProviderConfig |
bind(Construct _)
(experimental) Called when this provider is used by a `CustomResource`.
|
static CustomResourceProvider |
fromLambda(IFunction handler)
(experimental) The Lambda provider that implements this custom resource.
|
static CustomResourceProvider |
fromTopic(ITopic topic)
(experimental) The SNS Topic for the provider that implements this custom resource.
|
String |
getServiceToken()
(experimental) the ServiceToken which contains the ARN for this provider.
|
static CustomResourceProvider |
lambda(IFunction handler)
Deprecated.
use `fromLambda`
|
static CustomResourceProvider |
topic(ITopic topic)
Deprecated.
use `fromTopic`
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CustomResourceProvider(software.amazon.jsii.JsiiObjectRef objRef)
protected CustomResourceProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static CustomResourceProvider fromLambda(@NotNull IFunction handler)
We recommend using a lambda.SingletonFunction for this.
handler - This parameter is required.@Stability(value=Experimental) @NotNull public static CustomResourceProvider fromTopic(@NotNull ITopic topic)
topic - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static CustomResourceProvider lambda(@NotNull IFunction handler)
handler - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static CustomResourceProvider topic(@NotNull ITopic topic)
topic - This parameter is required.@Stability(value=Experimental) @NotNull public CustomResourceProviderConfig bind(@NotNull Construct _)
bind in interface ICustomResourceProvider_ - This parameter is required.@Stability(value=Experimental) @NotNull public String getServiceToken()
Copyright © 2020. All rights reserved.