Class LambdaDestination.Builder
java.lang.Object
software.amazon.awscdk.services.logs.destinations.LambdaDestination.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LambdaDestination>
- Enclosing class:
- LambdaDestination
@Stability(Stable)
public static final class LambdaDestination.Builder
extends Object
implements software.amazon.jsii.Builder<LambdaDestination>
A fluent builder for
LambdaDestination
.-
Method Summary
Modifier and TypeMethodDescriptionaddPermissions
(Boolean addPermissions) Whether or not to add Lambda Permissions.build()
static LambdaDestination.Builder
-
Method Details
-
create
- Parameters:
fn
- This parameter is required.- Returns:
- a new instance of
LambdaDestination.Builder
.
-
addPermissions
Whether or not to add Lambda Permissions.Default: true
- Parameters:
addPermissions
- Whether or not to add Lambda Permissions. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LambdaDestination>
- Returns:
- a newly built instance of
LambdaDestination
.
-