interface PipeTargetParametersProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pipes.CfnPipe.PipeTargetParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_PipeTargetParametersProperty |
Java | software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetParametersProperty |
Python | aws_cdk.aws_pipes.CfnPipe.PipeTargetParametersProperty |
TypeScript | aws-cdk-lib » aws_pipes » CfnPipe » PipeTargetParametersProperty |
The parameters required to set up a target for your pipe.
For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide .
Example
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;
const pipeSource = new sources.SqsSource(sourceQueue, {
batchSize: 10,
maximumBatchingWindow: cdk.Duration.seconds(10)
});
const pipe = new pipes.Pipe(this, 'Pipe', {
source: pipeSource,
target: new SqsTarget(targetQueue)
});
Properties
Name | Type | Description |
---|---|---|
batch | IResolvable | Pipe | The parameters for using an AWS Batch job as a target. |
cloud | IResolvable | Pipe | The parameters for using an CloudWatch Logs log stream as a target. |
ecs | IResolvable | Pipe | The parameters for using an Amazon ECS task as a target. |
event | IResolvable | Pipe | The parameters for using an EventBridge event bus as a target. |
http | IResolvable | Pipe | These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations. |
input | string | Valid JSON text passed to the target. |
kinesis | IResolvable | Pipe | The parameters for using a Kinesis stream as a target. |
lambda | IResolvable | Pipe | The parameters for using a Lambda function as a target. |
redshift | IResolvable | Pipe | These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement. |
sage | IResolvable | Pipe | The parameters for using a SageMaker pipeline as a target. |
sqs | IResolvable | Pipe | The parameters for using a Amazon SQS stream as a target. |
step | IResolvable | Pipe | The parameters for using a Step Functions state machine as a target. |
timestream | IResolvable | Pipe | The parameters for using a Timestream for LiveAnalytics table as a target. |
batchJobParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using an AWS Batch job as a target.
cloudWatchLogsParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using an CloudWatch Logs log stream as a target.
ecsTaskParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using an Amazon ECS task as a target.
eventBridgeEventBusParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using an EventBridge event bus as a target.
httpParameters?
Type:
IResolvable
|
Pipe
(optional)
These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations.
inputTemplate?
Type:
string
(optional)
Valid JSON text passed to the target.
In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format .
To remove an input template, specify an empty string.
kinesisStreamParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using a Kinesis stream as a target.
lambdaFunctionParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using a Lambda function as a target.
redshiftDataParameters?
Type:
IResolvable
|
Pipe
(optional)
These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
sageMakerPipelineParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using a SageMaker pipeline as a target.
sqsQueueParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using a Amazon SQS stream as a target.
stepFunctionStateMachineParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using a Step Functions state machine as a target.
timestreamParameters?
Type:
IResolvable
|
Pipe
(optional)
The parameters for using a Timestream for LiveAnalytics table as a target.