@Stability(value=Experimental) @Internal public static final class ProviderProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ProviderProps
ProviderPropssoftware.amazon.jsii.JsiiObject.InitializationModeProviderProps.Builder, ProviderProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IFunction onEventHandler,
IFunction isCompleteHandler,
RetentionDays logRetention,
Duration queryInterval,
Duration totalTimeout)
Constructor that initializes the object based on literal property values passed by the
ProviderProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IFunction |
getIsCompleteHandler()
(experimental) The AWS Lambda function to invoke in order to determine if the operation is complete.
|
RetentionDays |
getLogRetention()
(experimental) The number of days framework log events are kept in CloudWatch Logs.
|
IFunction |
getOnEventHandler()
(experimental) The AWS Lambda function to invoke for all resource lifecycle operations (CREATE/UPDATE/DELETE).
|
Duration |
getQueryInterval()
(experimental) Time between calls to the `isComplete` handler which determines if the resource has been stabilized.
|
Duration |
getTotalTimeout()
(experimental) Total timeout for the entire operation.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IFunction onEventHandler, IFunction isCompleteHandler, RetentionDays logRetention, Duration queryInterval, Duration totalTimeout)
ProviderProps.Builder.public final IFunction getOnEventHandler()
ProviderProps
This function is responsible to begin the requested resource operation
(CREATE/UPDATE/DELETE) and return any additional properties to add to the
event, which will later be passed to isComplete. The PhysicalResourceId
property must be included in the response.
getOnEventHandler in interface ProviderPropspublic final IFunction getIsCompleteHandler()
ProviderProps
This function will be called immediately after onEvent and then
periodically based on the configured query interval as long as it returns
false. If the function still returns false and the alloted timeout has
passed, the operation will fail.
Default: - provider is synchronous. This means that the `onEvent` handler is expected to finish all lifecycle operations within the initial invocation.
getIsCompleteHandler in interface ProviderPropspublic final RetentionDays getLogRetention()
ProviderProps
When
updating this property, unsetting it doesn't remove the log retention policy.
To remove the retention policy, set the value to INFINITE.
Default: logs.RetentionDays.INFINITE
getLogRetention in interface ProviderPropspublic final Duration getQueryInterval()
ProviderProps
The first isComplete will be called immediately after handler and then
every queryInterval seconds, and until timeout has been reached or until
isComplete returns true.
Default: Duration.seconds(5)
getQueryInterval in interface ProviderPropspublic final Duration getTotalTimeout()
ProviderPropsThe maximum timeout is 2 hours (yes, it can exceed the AWS Lambda 15 minutes)
Default: Duration.minutes(30)
getTotalTimeout in interface ProviderProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.