> **Experimental**
>
> `@aws-cdk/aws-pipes-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# SourceParameters

Source properties.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/source.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-pipes-alpha/lib/source.ts#L14)

## Example

TypeScript:

```ts
declare const sourceQueue: sqs.Queue;
declare const targetFunction: lambda.IFunction;

const pipeTarget = new targets.LambdaFunction(targetFunction, {
  invocationType: targets.LambdaFunctionInvocationType.FIRE_AND_FORGET,
});

const pipe = new pipes.Pipe(this, 'Pipe', {
    source: new SqsSource(sourceQueue),
    target: pipeTarget
});
```

Python:

```python
# source_queue: sqs.Queue
# target_function: lambda.IFunction

pipe_target = targets.LambdaFunction(target_function,
    invocation_type=targets.LambdaFunctionInvocationType.FIRE_AND_FORGET
)

pipe = pipes.Pipe(self, "Pipe",
    source=SqsSource(source_queue),
    target=pipe_target
)
```

Java:

```java
Queue sourceQueue;
IFunction targetFunction;

LambdaFunction pipeTarget = LambdaFunction.Builder.create(targetFunction)
        .invocationType(LambdaFunctionInvocationType.FIRE_AND_FORGET)
        .build();

Pipe pipe = Pipe.Builder.create(this, "Pipe")
        .source(new SqsSource(sourceQueue))
        .target(pipeTarget)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Pipes.Alpha
Queue sourceQueue;
IFunction targetFunction;

var pipeTarget = new LambdaFunction(targetFunction, new LambdaFunctionParameters {
    InvocationType = LambdaFunctionInvocationType.FIRE_AND_FORGET
});

var pipe = new Pipe(this, "Pipe", new PipeProps {
    Source = new SqsSource(sourceQueue),
    Target = pipeTarget
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkpipesalpha/v2
var sourceQueue Queue
var targetFunction IFunction

pipeTarget := targets.NewLambdaFunction(targetFunction, &LambdaFunctionParameters{
	InvocationType: targets.LambdaFunctionInvocationType_FIRE_AND_FORGET,
})

pipe := pipes.NewPipe(this, jsii.String("Pipe"), &PipeProps{
	Source: awscdkpipessourcesalpha.NewSqsSource(sourceQueue),
	Target: pipeTarget,
})
```

## Properties

- `activeMqBrokerParameters`: [CfnPipe.PipeSourceActiveMQBrokerParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceActiveMQBrokerParametersProperty.html) = none — ActiveMQBroker configuration parameters.

- `dynamoDbStreamParameters`: [CfnPipe.PipeSourceDynamoDBStreamParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceDynamoDBStreamParametersProperty.html) = none — DynamoDB stream configuration parameters.

- `kinesisStreamParameters`: [CfnPipe.PipeSourceKinesisStreamParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceKinesisStreamParametersProperty.html) = none — Kinesis stream configuration parameters.

- `managedStreamingKafkaParameters`: [CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty.html) = none — Managed streaming Kafka configuration parameters.

- `rabbitMqBrokerParameters`: [CfnPipe.PipeSourceRabbitMQBrokerParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceRabbitMQBrokerParametersProperty.html) = none — RabbitMQ broker configuration parameters.

- `selfManagedKafkaParameters`: [CfnPipe.PipeSourceSelfManagedKafkaParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceSelfManagedKafkaParametersProperty.html) = none — Self-managed Kafka configuration parameters.

- `sqsQueueParameters`: [CfnPipe.PipeSourceSqsQueueParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pipes.CfnPipe.PipeSourceSqsQueueParametersProperty.html) = none — SQS queue configuration parameters.
