Documentation ¶
Overview ¶
CDK constructs for defining an interaction between an AWS Lambda function and an AWS Step Function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LambdaToStepfunctions_IsConstruct ¶
func LambdaToStepfunctions_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewLambdaToStepfunctions_Override ¶
func NewLambdaToStepfunctions_Override(l LambdaToStepfunctions, scope constructs.Construct, id *string, props *LambdaToStepfunctionsProps)
Types ¶
type LambdaToStepfunctions ¶
type LambdaToStepfunctions interface { constructs.Construct CloudwatchAlarms() *[]awscloudwatch.Alarm LambdaFunction() awslambda.Function Node() constructs.Node StateMachine() awsstepfunctions.StateMachine StateMachineLogGroup() awslogs.ILogGroup Vpc() awsec2.IVpc ToString() *string }
func NewLambdaToStepfunctions ¶
func NewLambdaToStepfunctions(scope constructs.Construct, id *string, props *LambdaToStepfunctionsProps) LambdaToStepfunctions
type LambdaToStepfunctionsProps ¶
type LambdaToStepfunctionsProps struct { // User provided StateMachineProps to override the defaults. StateMachineProps *awsstepfunctions.StateMachineProps `json:"stateMachineProps"` // Whether to create recommended CloudWatch alarms. CreateCloudWatchAlarms *bool `json:"createCloudWatchAlarms"` // Whether to deploy a new VPC. DeployVpc *bool `json:"deployVpc"` // Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. ExistingLambdaObj awslambda.Function `json:"existingLambdaObj"` // An existing VPC for the construct to use (construct will NOT create a new VPC in this case). ExistingVpc awsec2.IVpc `json:"existingVpc"` // User provided props to override the default props for the Lambda function. LambdaFunctionProps *awslambda.FunctionProps `json:"lambdaFunctionProps"` // User provided props to override the default props for the CloudWatchLogs LogGroup. LogGroupProps *awslogs.LogGroupProps `json:"logGroupProps"` // Optional Name for the Step Functions state machine environment variable set for the producer Lambda function. StateMachineEnvironmentVariableName *string `json:"stateMachineEnvironmentVariableName"` // Properties to override default properties if deployVpc is true. VpcProps *awsec2.VpcProps `json:"vpcProps"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.