PipeSourceSqsQueueParametersProperty Struct
The parameters for using a Amazon SQS stream as a source.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const pipeSourceSqsQueueParametersProperty: pipes.CfnPipe.PipeSourceSqsQueueParametersProperty = {
batchSize: 123,
maximumBatchingWindowInSeconds: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pipes as pipes
pipe_source_sqs_queue_parameters_property = pipes.CfnPipe.PipeSourceSqsQueueParametersProperty(
batch_size=123,
maximum_batching_window_in_seconds=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pipes.*;
PipeSourceSqsQueueParametersProperty pipeSourceSqsQueueParametersProperty = PipeSourceSqsQueueParametersProperty.builder()
.batchSize(123)
.maximumBatchingWindowInSeconds(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes;
var pipeSourceSqsQueueParametersProperty = new PipeSourceSqsQueueParametersProperty {
BatchSize = 123,
MaximumBatchingWindowInSeconds = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
pipeSourceSqsQueueParametersProperty := &PipeSourceSqsQueueParametersProperty{
BatchSize: jsii.Number(123),
MaximumBatchingWindowInSeconds: jsii.Number(123),
}
Properties
batchSizeoptionalnumberbatch_sizeoptionalint | floatbatchSizeoptionalNumberBatchSizeoptionaldoubleBatchSizeoptional*float64 #The maximum number of records to include in each batch.
maximumBatchingWindowInSecondsoptionalnumbermaximum_batching_window_in_secondsoptionalint | floatmaximumBatchingWindowInSecondsoptionalNumberMaximumBatchingWindowInSecondsoptionaldoubleMaximumBatchingWindowInSecondsoptional*float64 #The maximum length of a time to wait for events.