public static final class LambdaToEventbridge.Builder extends Object implements software.amazon.jsii.Builder<LambdaToEventbridge>
LambdaToEventbridge.| Modifier and Type | Method and Description |
|---|---|
LambdaToEventbridge |
build() |
static LambdaToEventbridge.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
LambdaToEventbridge.Builder |
deployVpc(Boolean deployVpc)
Whether to deploy a new VPC.
|
LambdaToEventbridge.Builder |
eventBusEnvironmentVariableName(String eventBusEnvironmentVariableName)
Optional Name for the EventBus's name environment variable set for the Lambda function.
|
LambdaToEventbridge.Builder |
eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps)
A new custom EventBus is created with provided props.
|
LambdaToEventbridge.Builder |
existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface)
Existing instance of a custom EventBus.
|
LambdaToEventbridge.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
LambdaToEventbridge.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).
|
LambdaToEventbridge.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
LambdaToEventbridge.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Properties to override default properties if deployVpc is true.
|
public static LambdaToEventbridge.Builder create(software.amazon.awscdk.core.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.LambdaToEventbridge.Builder.public LambdaToEventbridge.Builder deployVpc(Boolean deployVpc)
Default: - false
deployVpc - Whether to deploy a new VPC. This parameter is required.thispublic LambdaToEventbridge.Builder eventBusEnvironmentVariableName(String eventBusEnvironmentVariableName)
Default: - EVENTBUS_NAME is used
eventBusEnvironmentVariableName - Optional Name for the EventBus's name environment variable set for the Lambda function. This parameter is required.thispublic LambdaToEventbridge.Builder eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps)
Default: - None
eventBusProps - A new custom EventBus is created with provided props. This parameter is required.thispublic LambdaToEventbridge.Builder existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface)
Default: - None
existingEventBusInterface - Existing instance of a custom EventBus. This parameter is required.thispublic LambdaToEventbridge.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 LambdaToEventbridge.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 LambdaToEventbridge.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 LambdaToEventbridge.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
vpcProps - Properties to override default properties if deployVpc is true. This parameter is required.thispublic LambdaToEventbridge build()
build in interface software.amazon.jsii.Builder<LambdaToEventbridge>Copyright © 2021. All rights reserved.