Experimental
@aws-cdk/aws-pipes-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
PipeProps Struct
Properties for a pipe.
Example
declare const sourceQueue: sqs.Queue;
declare const dest: events.ApiDestination;
const apiTarget = new targets.ApiDestinationTarget(dest, {
inputTransformation: pipes.InputTransformation.fromObject({ body: "👀" }),
});
const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SqsSource(sourceQueue),
target: apiTarget,
});
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#Default: no description
desiredStateoptionalDesiredStatedesired_stateoptionalDesiredStatedesiredStateoptionalDesiredStateDesiredStateoptionalDesiredStateDesiredStateoptionalDesiredState= DesiredState.RUNNING#If the state is set to STOPPED, the pipe will not process events.
enrichmentoptionalIEnrichmentenrichmentoptionalIEnrichmentenrichmentoptionalIEnrichmentEnrichmentoptionalIEnrichmentEnrichmentoptionalIEnrichment#Default: no enrichment
filteroptionalIFilterfilteroptionalIFilterfilteroptionalIFilterFilteroptionalIFilterFilteroptionalIFilter#Default: no filter
Default: undefined - AWS managed key is used
logDestinationsoptionalILogDestination[]log_destinationsoptionaltyping.List[ILogDestination]logDestinationsoptionalList<ILogDestination>LogDestinationsoptionalILogDestination[]LogDestinationsoptional*[]ILogDestination#Default: no logs
logIncludeExecutionDataoptionalIncludeExecutionData[]log_include_execution_dataoptionaltyping.List[IncludeExecutionData]logIncludeExecutionDataoptionalList<IncludeExecutionData>LogIncludeExecutionDataoptionalIncludeExecutionData[]LogIncludeExecutionDataoptional*[]IncludeExecutionData= none#notes
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs and the message schema in the Amazon EventBridge User Guide .
logLeveloptionalLogLevellog_leveloptionalLogLevellogLeveloptionalLogLevelLogLeveloptionalLogLevelLogLeveloptionalLogLevel= LogLevel.ERROR#This applies to all log destinations for the pipe.
pipeNameoptionalstringpipe_nameoptionalstrpipeNameoptionalStringPipeNameoptionalstringPipeNameoptional*string#Default: automatically generated name
Default: a new role will be created.
If an enriched target is used, the role also have permissions to call the enriched target. If no role is provided, a role will be created.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#Default: no tags