Show / Hide Table of Contents

Class CfnPipe.PipeSourceKinesisStreamParametersProperty

The parameters for using a Kinesis stream as a source.

Inheritance
System.Object
CfnPipe.PipeSourceKinesisStreamParametersProperty
Implements
CfnPipe.IPipeSourceKinesisStreamParametersProperty
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.AWS.Pipes.dll
Syntax (csharp)
public class PipeSourceKinesisStreamParametersProperty : Object, CfnPipe.IPipeSourceKinesisStreamParametersProperty
Syntax (vb)
Public Class PipeSourceKinesisStreamParametersProperty
    Inherits Object
    Implements CfnPipe.IPipeSourceKinesisStreamParametersProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html

ExampleMetadata: fixture=_generated

Examples
// 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 pipeSourceKinesisStreamParametersProperty = new PipeSourceKinesisStreamParametersProperty {
    StartingPosition = "startingPosition",

    // the properties below are optional
    BatchSize = 123,
    DeadLetterConfig = new DeadLetterConfigProperty {
        Arn = "arn"
    },
    MaximumBatchingWindowInSeconds = 123,
    MaximumRecordAgeInSeconds = 123,
    MaximumRetryAttempts = 123,
    OnPartialBatchItemFailure = "onPartialBatchItemFailure",
    ParallelizationFactor = 123,
    StartingPositionTimestamp = "startingPositionTimestamp"
};

Synopsis

Constructors

PipeSourceKinesisStreamParametersProperty()

Properties

BatchSize

The maximum number of records to include in each batch.

DeadLetterConfig

Define the target queue to send dead-letter queue events to.

MaximumBatchingWindowInSeconds

The maximum length of a time to wait for events.

MaximumRecordAgeInSeconds

(Streams only) Discard records older than the specified age.

MaximumRetryAttempts

(Streams only) Discard records after the specified number of retries.

OnPartialBatchItemFailure

(Streams only) Define how to handle item process failures.

ParallelizationFactor

(Streams only) The number of batches to process concurrently from each shard.

StartingPosition

(Streams only) The position in a stream from which to start reading.

StartingPositionTimestamp

With StartingPosition set to AT_TIMESTAMP , the time from which to start reading, in Unix time seconds.

Constructors

PipeSourceKinesisStreamParametersProperty()

public PipeSourceKinesisStreamParametersProperty()

Properties

BatchSize

The maximum number of records to include in each batch.

public Nullable<double> BatchSize { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-batchsize

DeadLetterConfig

Define the target queue to send dead-letter queue events to.

public object DeadLetterConfig { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-deadletterconfig

MaximumBatchingWindowInSeconds

The maximum length of a time to wait for events.

public Nullable<double> MaximumBatchingWindowInSeconds { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-maximumbatchingwindowinseconds

MaximumRecordAgeInSeconds

(Streams only) Discard records older than the specified age.

public Nullable<double> MaximumRecordAgeInSeconds { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-maximumrecordageinseconds

MaximumRetryAttempts

(Streams only) Discard records after the specified number of retries.

public Nullable<double> MaximumRetryAttempts { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-maximumretryattempts

OnPartialBatchItemFailure

(Streams only) Define how to handle item process failures.

public string OnPartialBatchItemFailure { get; set; }
Property Value

System.String

Remarks

AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the batch.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-onpartialbatchitemfailure

ParallelizationFactor

(Streams only) The number of batches to process concurrently from each shard.

public Nullable<double> ParallelizationFactor { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

The default value is 1.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-parallelizationfactor

StartingPosition

(Streams only) The position in a stream from which to start reading.

public string StartingPosition { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-startingposition

StartingPositionTimestamp

With StartingPosition set to AT_TIMESTAMP , the time from which to start reading, in Unix time seconds.

public string StartingPositionTimestamp { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcekinesisstreamparameters.html#cfn-pipes-pipe-pipesourcekinesisstreamparameters-startingpositiontimestamp

Implements

CfnPipe.IPipeSourceKinesisStreamParametersProperty
Back to top Generated by DocFX