public static final class LambdaToStepfunctions.Builder extends Object implements software.amazon.jsii.Builder<LambdaToStepfunctions>
LambdaToStepfunctions.| Modifier and Type | Method and Description |
|---|---|
LambdaToStepfunctions |
build() |
static LambdaToStepfunctions.Builder |
create(software.constructs.Construct scope,
String id) |
LambdaToStepfunctions.Builder |
createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Whether to create recommended CloudWatch alarms.
|
LambdaToStepfunctions.Builder |
deployVpc(Boolean deployVpc)
Whether to deploy a new VPC.
|
LambdaToStepfunctions.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
LambdaToStepfunctions.Builder |
existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
|
LambdaToStepfunctions.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
LambdaToStepfunctions.Builder |
logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
User provided props to override the default props for the CloudWatchLogs LogGroup.
|
LambdaToStepfunctions.Builder |
stateMachineEnvironmentVariableName(String stateMachineEnvironmentVariableName)
Optional Name for the Lambda function environment variable set to the ARN of the state machine.
|
LambdaToStepfunctions.Builder |
stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps)
User provided StateMachineProps to override the defaults.
|
LambdaToStepfunctions.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Properties to override default properties if deployVpc is true.
|
public static LambdaToStepfunctions.Builder create(software.constructs.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.LambdaToStepfunctions.Builder.public LambdaToStepfunctions.Builder stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps)
Default: - None
stateMachineProps - User provided StateMachineProps to override the defaults. This parameter is required.thispublic LambdaToStepfunctions.Builder createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Default: - Alarms are created
createCloudWatchAlarms - Whether to create recommended CloudWatch alarms. This parameter is required.thispublic LambdaToStepfunctions.Builder deployVpc(Boolean deployVpc)
Default: - false
deployVpc - Whether to deploy a new VPC. This parameter is required.thispublic LambdaToStepfunctions.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. This parameter is required.thispublic LambdaToStepfunctions.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case). This parameter is required.thispublic LambdaToStepfunctions.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default properties are used.
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic LambdaToStepfunctions.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
Default: - Default props are used
logGroupProps - User provided props to override the default props for the CloudWatchLogs LogGroup. This parameter is required.thispublic LambdaToStepfunctions.Builder stateMachineEnvironmentVariableName(String stateMachineEnvironmentVariableName)
Default: - STATE_MACHINE_ARN
stateMachineEnvironmentVariableName - Optional Name for the Lambda function environment variable set to the ARN of the state machine. This parameter is required.thispublic LambdaToStepfunctions.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
vpcProps - Properties to override default properties if deployVpc is true. This parameter is required.thispublic LambdaToStepfunctions build()
build in interface software.amazon.jsii.Builder<LambdaToStepfunctions>Copyright © 2022. All rights reserved.