public static final class LambdaToEventbridgeProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaToEventbridgeProps>
LambdaToEventbridgeProps| Constructor and Description |
|---|
Builder() |
public LambdaToEventbridgeProps.Builder deployVpc(Boolean deployVpc)
LambdaToEventbridgeProps.getDeployVpc()deployVpc - Whether to deploy a new VPC.thispublic LambdaToEventbridgeProps.Builder eventBusEnvironmentVariableName(String eventBusEnvironmentVariableName)
LambdaToEventbridgeProps.getEventBusEnvironmentVariableName()eventBusEnvironmentVariableName - Optional Name for the EventBus's name environment variable set for the Lambda function.thispublic LambdaToEventbridgeProps.Builder eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps)
LambdaToEventbridgeProps.getEventBusProps()eventBusProps - A new custom EventBus is created with provided props.thispublic LambdaToEventbridgeProps.Builder existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface)
LambdaToEventbridgeProps.getExistingEventBusInterface()existingEventBusInterface - Existing instance of a custom EventBus.thispublic LambdaToEventbridgeProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
LambdaToEventbridgeProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.thispublic LambdaToEventbridgeProps.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
LambdaToEventbridgeProps.getExistingVpc()existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case).thispublic LambdaToEventbridgeProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
LambdaToEventbridgeProps.getLambdaFunctionProps()lambdaFunctionProps - User provided props to override the default props for the Lambda function.thispublic LambdaToEventbridgeProps.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
LambdaToEventbridgeProps.getVpcProps()vpcProps - Properties to override default properties if deployVpc is true.thispublic LambdaToEventbridgeProps build()
build in interface software.amazon.jsii.Builder<LambdaToEventbridgeProps>LambdaToEventbridgePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.