@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,
IRole role,
List<? extends ISecurityGroup> securityGroups,
Duration totalTimeout,
IVpc vpc,
SubnetSelection vpcSubnets)
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.
|
IRole |
getRole()
(experimental) AWS Lambda execution role.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) Security groups to attach to the provider functions.
|
Duration |
getTotalTimeout()
(experimental) Total timeout for the entire operation.
|
IVpc |
getVpc()
(experimental) The vpc to provision the lambda functions in.
|
SubnetSelection |
getVpcSubnets()
(experimental) Which subnets from the VPC to place the lambda functions in.
|
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, IRole role, List<? extends ISecurityGroup> securityGroups, Duration totalTimeout, IVpc vpc, SubnetSelection vpcSubnets)
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 IRole getRole()
ProviderPropsThe role that will be assumed by the AWS Lambda. Must be assumable by the 'lambda.amazonaws.com' service principal.
Default: - A default role will be created.
getRole in interface ProviderPropspublic final List<ISecurityGroup> getSecurityGroups()
ProviderPropsOnly used if 'vpc' is supplied
Default: - If `vpc` is not supplied, no security groups are attached. Otherwise, a dedicated security group is created for each function.
getSecurityGroups 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 ProviderPropspublic final IVpc getVpc()
ProviderPropsDefault: - functions are not provisioned inside a vpc.
getVpc in interface ProviderPropspublic final SubnetSelection getVpcSubnets()
ProviderPropsOnly used if 'vpc' is supplied. Note: internet access for Lambdas requires a NAT gateway, so picking Public subnets is not allowed.
Default: - the Vpc default strategy if not specified
getVpcSubnets in interface ProviderProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.