aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceParametersProperty

interface PipeSourceParametersProperty

LanguageType name
.NETAmazon.CDK.AWS.Pipes.CfnPipe.PipeSourceParametersProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_PipeSourceParametersProperty
Javasoftware.amazon.awscdk.services.pipes.CfnPipe.PipeSourceParametersProperty
Pythonaws_cdk.aws_pipes.CfnPipe.PipeSourceParametersProperty
TypeScript aws-cdk-lib » aws_pipes » CfnPipe » PipeSourceParametersProperty

The parameters required to set up a source for your pipe.

Example

// 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 pipeSourceParametersProperty: pipes.CfnPipe.PipeSourceParametersProperty = {
  activeMqBrokerParameters: {
    credentials: {
      basicAuth: 'basicAuth',
    },
    queueName: 'queueName',

    // the properties below are optional
    batchSize: 123,
    maximumBatchingWindowInSeconds: 123,
  },
  dynamoDbStreamParameters: {
    startingPosition: 'startingPosition',

    // the properties below are optional
    batchSize: 123,
    deadLetterConfig: {
      arn: 'arn',
    },
    maximumBatchingWindowInSeconds: 123,
    maximumRecordAgeInSeconds: 123,
    maximumRetryAttempts: 123,
    onPartialBatchItemFailure: 'onPartialBatchItemFailure',
    parallelizationFactor: 123,
  },
  filterCriteria: {
    filters: [{
      pattern: 'pattern',
    }],
  },
  kinesisStreamParameters: {
    startingPosition: 'startingPosition',

    // the properties below are optional
    batchSize: 123,
    deadLetterConfig: {
      arn: 'arn',
    },
    maximumBatchingWindowInSeconds: 123,
    maximumRecordAgeInSeconds: 123,
    maximumRetryAttempts: 123,
    onPartialBatchItemFailure: 'onPartialBatchItemFailure',
    parallelizationFactor: 123,
    startingPositionTimestamp: 'startingPositionTimestamp',
  },
  managedStreamingKafkaParameters: {
    topicName: 'topicName',

    // the properties below are optional
    batchSize: 123,
    consumerGroupId: 'consumerGroupId',
    credentials: {
      clientCertificateTlsAuth: 'clientCertificateTlsAuth',
      saslScram512Auth: 'saslScram512Auth',
    },
    maximumBatchingWindowInSeconds: 123,
    startingPosition: 'startingPosition',
  },
  rabbitMqBrokerParameters: {
    credentials: {
      basicAuth: 'basicAuth',
    },
    queueName: 'queueName',

    // the properties below are optional
    batchSize: 123,
    maximumBatchingWindowInSeconds: 123,
    virtualHost: 'virtualHost',
  },
  selfManagedKafkaParameters: {
    topicName: 'topicName',

    // the properties below are optional
    additionalBootstrapServers: ['additionalBootstrapServers'],
    batchSize: 123,
    consumerGroupId: 'consumerGroupId',
    credentials: {
      basicAuth: 'basicAuth',
      clientCertificateTlsAuth: 'clientCertificateTlsAuth',
      saslScram256Auth: 'saslScram256Auth',
      saslScram512Auth: 'saslScram512Auth',
    },
    maximumBatchingWindowInSeconds: 123,
    serverRootCaCertificate: 'serverRootCaCertificate',
    startingPosition: 'startingPosition',
    vpc: {
      securityGroup: ['securityGroup'],
      subnets: ['subnets'],
    },
  },
  sqsQueueParameters: {
    batchSize: 123,
    maximumBatchingWindowInSeconds: 123,
  },
};

Properties

NameTypeDescription
activeMqBrokerParameters?IResolvable | PipeSourceActiveMQBrokerParametersPropertyThe parameters for using an Active MQ broker as a source.
dynamoDbStreamParameters?IResolvable | PipeSourceDynamoDBStreamParametersPropertyThe parameters for using a DynamoDB stream as a source.
filterCriteria?IResolvable | FilterCriteriaPropertyThe collection of event patterns used to filter events.
kinesisStreamParameters?IResolvable | PipeSourceKinesisStreamParametersPropertyThe parameters for using a Kinesis stream as a source.
managedStreamingKafkaParameters?IResolvable | PipeSourceManagedStreamingKafkaParametersPropertyThe parameters for using an MSK stream as a source.
rabbitMqBrokerParameters?IResolvable | PipeSourceRabbitMQBrokerParametersPropertyThe parameters for using a Rabbit MQ broker as a source.
selfManagedKafkaParameters?IResolvable | PipeSourceSelfManagedKafkaParametersPropertyThe parameters for using a self-managed Apache Kafka stream as a source.
sqsQueueParameters?IResolvable | PipeSourceSqsQueueParametersPropertyThe parameters for using a Amazon SQS stream as a source.

activeMqBrokerParameters?

Type: IResolvable | PipeSourceActiveMQBrokerParametersProperty (optional)

The parameters for using an Active MQ broker as a source.


dynamoDbStreamParameters?

Type: IResolvable | PipeSourceDynamoDBStreamParametersProperty (optional)

The parameters for using a DynamoDB stream as a source.


filterCriteria?

Type: IResolvable | FilterCriteriaProperty (optional)

The collection of event patterns used to filter events.

To remove a filter, specify a FilterCriteria object with an empty array of Filter objects.

For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .


kinesisStreamParameters?

Type: IResolvable | PipeSourceKinesisStreamParametersProperty (optional)

The parameters for using a Kinesis stream as a source.


managedStreamingKafkaParameters?

Type: IResolvable | PipeSourceManagedStreamingKafkaParametersProperty (optional)

The parameters for using an MSK stream as a source.


rabbitMqBrokerParameters?

Type: IResolvable | PipeSourceRabbitMQBrokerParametersProperty (optional)

The parameters for using a Rabbit MQ broker as a source.


selfManagedKafkaParameters?

Type: IResolvable | PipeSourceSelfManagedKafkaParametersProperty (optional)

The parameters for using a self-managed Apache Kafka stream as a source.


sqsQueueParameters?

Type: IResolvable | PipeSourceSqsQueueParametersProperty (optional)

The parameters for using a Amazon SQS stream as a source.