@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.892Z") @Stability(value=Stable) public class Provider extends software.constructs.Construct
Example:
Function onEvent;
Function isComplete;
Role myRole;
Provider myProvider = Provider.Builder.create(this, "MyProvider")
.onEventHandler(onEvent)
.isCompleteHandler(isComplete)
.logRetention(RetentionDays.ONE_DAY)
.role(myRole)
.providerFunctionName("the-lambda-name")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
Provider.Builder
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()
The user-defined AWS Lambda function which is invoked asynchronously in order to determine if the operation is complete.
|
IFunction |
getOnEventHandler()
The user-defined AWS Lambda function which is invoked for all resource lifecycle operations (CREATE/UPDATE/DELETE).
|
String |
getServiceToken()
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=Stable)
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=Stable) @NotNull public IFunction getOnEventHandler()
@Stability(value=Stable) @NotNull public String getServiceToken()
@Stability(value=Stable) @Nullable public IFunction getIsCompleteHandler()
Copyright © 2022. All rights reserved.