@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:08.315Z") @Stability(value=Experimental) public class Provider extends software.constructs.Construct
Example:
// Example automatically generated from non-compiling source. May contain errors.
Provider provider = Provider.Builder.create(this, "MyProvider")
.onEventHandler(onEventHandler)
.isCompleteHandler(isCompleteHandler)
.build();
CustomResource.Builder.create(this, "MyResource")
.serviceToken(provider.getServiceToken())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
Provider.Builder
(experimental) A fluent builder for
Provider. |
| Modifier | Constructor and Description |
|---|---|
|
Provider(software.constructs.Construct scope,
String id,
ProviderProps props) |
protected |
Provider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Provider(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IFunction |
getIsCompleteHandler()
(experimental) The user-defined AWS Lambda function which is invoked asynchronously in order to determine if the operation is complete.
|
IFunction |
getOnEventHandler()
(experimental) The user-defined AWS Lambda function which is invoked for all resource lifecycle operations (CREATE/UPDATE/DELETE).
|
String |
getServiceToken()
(experimental) The service token to use in order to define custom resources that are backed by this provider.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Provider(software.amazon.jsii.JsiiObjectRef objRef)
protected Provider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Provider(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ProviderProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public IFunction getOnEventHandler()
@Stability(value=Experimental) @NotNull public String getServiceToken()
@Stability(value=Experimental) @Nullable public IFunction getIsCompleteHandler()
Copyright © 2021. All rights reserved.