public static final class KinesisStreamsToLambda.Builder extends Object implements software.amazon.jsii.Builder<KinesisStreamsToLambda>
KinesisStreamsToLambda.| Modifier and Type | Method and Description |
|---|---|
KinesisStreamsToLambda |
build() |
static KinesisStreamsToLambda.Builder |
create(software.constructs.Construct scope,
String id) |
KinesisStreamsToLambda.Builder |
createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Whether to create recommended CloudWatch alarms.
|
KinesisStreamsToLambda.Builder |
deploySqsDlqQueue(Boolean deploySqsDlqQueue)
Whether to deploy a SQS dead letter queue when a data record reaches the Maximum Retry Attempts or Maximum Record Age, its metadata like shard ID and stream ARN will be sent to an SQS queue.
|
KinesisStreamsToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
KinesisStreamsToLambda.Builder |
existingStreamObj(software.amazon.awscdk.services.kinesis.Stream existingStreamObj)
Existing instance of Kinesis Stream, providing both this and `kinesisStreamProps` will cause an error.
|
KinesisStreamsToLambda.Builder |
kinesisEventSourceProps(Object kinesisEventSourceProps)
Optional user-provided props to override the default props for the Lambda event source mapping.
|
KinesisStreamsToLambda.Builder |
kinesisStreamProps(software.amazon.awscdk.services.kinesis.StreamProps kinesisStreamProps)
Optional user-provided props to override the default props for the Kinesis stream.
|
KinesisStreamsToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
KinesisStreamsToLambda.Builder |
sqsDlqQueueProps(software.amazon.awscdk.services.sqs.QueueProps sqsDlqQueueProps)
Optional user provided properties for the SQS dead letter queue.
|
public static KinesisStreamsToLambda.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.KinesisStreamsToLambda.Builder.public KinesisStreamsToLambda.Builder createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Default: - Alarms are created
createCloudWatchAlarms - Whether to create recommended CloudWatch alarms. This parameter is required.thispublic KinesisStreamsToLambda.Builder deploySqsDlqQueue(Boolean deploySqsDlqQueue)
Default: - true.
deploySqsDlqQueue - Whether to deploy a SQS dead letter queue when a data record reaches the Maximum Retry Attempts or Maximum Record Age, its metadata like shard ID and stream ARN will be sent to an SQS queue. This parameter is required.thispublic KinesisStreamsToLambda.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 KinesisStreamsToLambda.Builder existingStreamObj(software.amazon.awscdk.services.kinesis.Stream existingStreamObj)
Default: - None
existingStreamObj - Existing instance of Kinesis Stream, providing both this and `kinesisStreamProps` will cause an error. This parameter is required.thispublic KinesisStreamsToLambda.Builder kinesisEventSourceProps(Object kinesisEventSourceProps)
Default: - Default props are used.
kinesisEventSourceProps - Optional user-provided props to override the default props for the Lambda event source mapping. This parameter is required.thispublic KinesisStreamsToLambda.Builder kinesisStreamProps(software.amazon.awscdk.services.kinesis.StreamProps kinesisStreamProps)
Default: - Default props are used.
kinesisStreamProps - Optional user-provided props to override the default props for the Kinesis stream. This parameter is required.thispublic KinesisStreamsToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used.
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic KinesisStreamsToLambda.Builder sqsDlqQueueProps(software.amazon.awscdk.services.sqs.QueueProps sqsDlqQueueProps)
Default: - Default props are used
sqsDlqQueueProps - Optional user provided properties for the SQS dead letter queue. This parameter is required.thispublic KinesisStreamsToLambda build()
build in interface software.amazon.jsii.Builder<KinesisStreamsToLambda>Copyright © 2022. All rights reserved.