Class ProviderProps.Jsii$Proxy
- All Implemented Interfaces:
ProviderProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ProviderProps
ProviderProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.customresources.ProviderProps
ProviderProps.Builder, ProviderProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ProviderProps.Builder builder) Constructor that initializes the object based on literal property values passed by theProviderProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanWhether logging for the waiter state machine is disabled.final IRoleLambda execution role for provider framework's isComplete/onTimeout Lambda function.final ApplicationLogLevelLog level of the provider framework lambda.final IRoleLambda execution role for provider framework's onEvent Lambda function.final IFunctionThe AWS Lambda function to invoke in order to determine if the operation is complete.final ILogGroupThe Log Group used for logging of events emitted by the custom resource's lambda function.final RetentionDaysThe number of days framework log events are kept in CloudWatch Logs.final IFunctionThe AWS Lambda function to invoke for all resource lifecycle operations (CREATE/UPDATE/DELETE).final IKeyRefAWS KMS key used to encrypt provider lambda's environment variables.final StringProvider Lambda name.final DurationTime between calls to theisCompletehandler which determines if the resource has been stabilized.final IRolegetRole()(deprecated) AWS Lambda execution role.final List<ISecurityGroup> Security groups to attach to the provider functions.final DurationTotal timeout for the entire operation.final IVpcgetVpc()The vpc to provision the lambda functions in.final SubnetSelectionWhich subnets from the VPC to place the lambda functions in.final LogOptionsDefines what execution history events of the waiter state machine are logged and where they are logged.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theProviderProps.Builder.
-
-
Method Details
-
getOnEventHandler
Description copied from interface:ProviderPropsThe AWS Lambda function to invoke for all resource lifecycle operations (CREATE/UPDATE/DELETE).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. ThePhysicalResourceIdproperty must be included in the response.- Specified by:
getOnEventHandlerin interfaceProviderProps
-
getDisableWaiterStateMachineLogging
Description copied from interface:ProviderPropsWhether logging for the waiter state machine is disabled.Default: - true
- Specified by:
getDisableWaiterStateMachineLoggingin interfaceProviderProps
-
getFrameworkCompleteAndTimeoutRole
Description copied from interface:ProviderPropsLambda execution role for provider framework's isComplete/onTimeout Lambda function.Note that this role must be assumed by the 'lambda.amazonaws.com' service principal. To prevent circular dependency problem in the provider framework, please ensure you specify a different IAM Role for 'frameworkCompleteAndTimeoutRole' from 'frameworkOnEventRole'.
This property cannot be used with 'role' property
Default: - A default role will be created.
- Specified by:
getFrameworkCompleteAndTimeoutRolein interfaceProviderProps
-
getFrameworkLambdaLoggingLevel
Description copied from interface:ProviderPropsLog level of the provider framework lambda.Default: true - Logging is disabled by default
- Specified by:
getFrameworkLambdaLoggingLevelin interfaceProviderProps
-
getFrameworkOnEventRole
Description copied from interface:ProviderPropsLambda execution role for provider framework's onEvent Lambda function.Note that this role must be assumed by the 'lambda.amazonaws.com' service principal.
This property cannot be used with 'role' property
Default: - A default role will be created.
- Specified by:
getFrameworkOnEventRolein interfaceProviderProps
-
getIsCompleteHandler
Description copied from interface:ProviderPropsThe AWS Lambda function to invoke in order to determine if the operation is complete.This function will be called immediately after
onEventand then periodically based on the configured query interval as long as it returnsfalse. If the function still returnsfalseand 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.
- Specified by:
getIsCompleteHandlerin interfaceProviderProps
-
getLogGroup
Description copied from interface:ProviderPropsThe Log Group used for logging of events emitted by the custom resource's lambda function.Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first.
Default: - a default log group created by AWS Lambda
- Specified by:
getLogGroupin interfaceProviderProps
-
getLogRetention
Description copied from interface:ProviderPropsThe number of days framework log events are kept in CloudWatch Logs.When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to
INFINITE.This is a legacy API and we strongly recommend you migrate to
logGroupif you can.logGroupallows you to create a fully customizable log group and instruct the Lambda function to send logs to it.Default: logs.RetentionDays.INFINITE
- Specified by:
getLogRetentionin interfaceProviderProps
-
getProviderFunctionEnvEncryption
Description copied from interface:ProviderPropsAWS KMS key used to encrypt provider lambda's environment variables.Default: - AWS Lambda creates and uses an AWS managed customer master key (CMK)
- Specified by:
getProviderFunctionEnvEncryptionin interfaceProviderProps
-
getProviderFunctionName
Description copied from interface:ProviderPropsProvider Lambda name.The provider lambda function name.
Default: - CloudFormation default name from unique physical ID
- Specified by:
getProviderFunctionNamein interfaceProviderProps
-
getQueryInterval
Description copied from interface:ProviderPropsTime between calls to theisCompletehandler which determines if the resource has been stabilized.The first
isCompletewill be called immediately afterhandlerand then everyqueryIntervalseconds, and untiltimeouthas been reached or untilisCompletereturnstrue.Default: Duration.seconds(5)
- Specified by:
getQueryIntervalin interfaceProviderProps
-
getRole
Description copied from interface:ProviderProps(deprecated) AWS Lambda execution role.The role is shared by provider framework's onEvent, isComplete lambda, and onTimeout Lambda functions. This role will be assumed by the AWS Lambda, so it must be assumable by the 'lambda.amazonaws.com' service principal.
Default: - A default role will be created.
- Specified by:
getRolein interfaceProviderProps
-
getSecurityGroups
Description copied from interface:ProviderPropsSecurity groups to attach to the provider functions.Only 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.
- Specified by:
getSecurityGroupsin interfaceProviderProps
-
getTotalTimeout
Description copied from interface:ProviderPropsTotal timeout for the entire operation.The maximum timeout is 1 hour (yes, it can exceed the AWS Lambda 15 minutes)
Default: Duration.minutes(30)
- Specified by:
getTotalTimeoutin interfaceProviderProps
-
getVpc
Description copied from interface:ProviderPropsThe vpc to provision the lambda functions in.Default: - functions are not provisioned inside a vpc.
- Specified by:
getVpcin interfaceProviderProps
-
getVpcSubnets
Description copied from interface:ProviderPropsWhich subnets from the VPC to place the lambda functions in.Only 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
- Specified by:
getVpcSubnetsin interfaceProviderProps
-
getWaiterStateMachineLogOptions
Description copied from interface:ProviderPropsDefines what execution history events of the waiter state machine are logged and where they are logged.Default: - A default log group will be created if logging for the waiter state machine is enabled.
- Specified by:
getWaiterStateMachineLogOptionsin interfaceProviderProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-