Class Pipe.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.alpha.Pipe.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Pipe>
- Enclosing class:
Pipe
@Stability(Experimental)
public static final class Pipe.Builder
extends Object
implements software.amazon.jsii.Builder<Pipe>
(experimental) A fluent builder for
Pipe
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Pipe.Builder
description
(String description) (experimental) A description of the pipe displayed in the AWS console.desiredState
(DesiredState desiredState) (experimental) The desired state of the pipe.enrichment
(IEnrichment enrichment) (experimental) Enrichment step to enhance the data from the source before sending it to the target.(experimental) The filter pattern for the pipe source.logDestinations
(List<? extends ILogDestination> logDestinations) (experimental) Destinations for the logs.logIncludeExecutionData
(List<? extends IncludeExecutionData> logIncludeExecutionData) (experimental) Whether the execution data (specifically, thepayload
,awsRequest
, andawsResponse
fields) is included in the log messages for this pipe.(experimental) The level of logging detail to include.(experimental) Name of the pipe in the AWS console.(experimental) The role used by the pipe which has permissions to read from the source and write to the target.(experimental) The source of the pipe.(experimental) The list of key-value pairs to associate with the pipe.(experimental) The target of the pipe.
-
Method Details
-
create
@Stability(Experimental) public static Pipe.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Pipe.Builder
.
-
source
(experimental) The source of the pipe.- Parameters:
source
- The source of the pipe. This parameter is required.- Returns:
this
- See Also:
-
target
(experimental) The target of the pipe.- Parameters:
target
- The target of the pipe. This parameter is required.- Returns:
this
- See Also:
-
description
(experimental) A description of the pipe displayed in the AWS console.Default: - no description
- Parameters:
description
- A description of the pipe displayed in the AWS console. This parameter is required.- Returns:
this
- See Also:
-
desiredState
(experimental) The desired state of the pipe.If the state is set to STOPPED, the pipe will not process events.
Default: - DesiredState.RUNNING
- Parameters:
desiredState
- The desired state of the pipe. This parameter is required.- Returns:
this
- See Also:
-
enrichment
(experimental) Enrichment step to enhance the data from the source before sending it to the target.Default: - no enrichment
- Parameters:
enrichment
- Enrichment step to enhance the data from the source before sending it to the target. This parameter is required.- Returns:
this
- See Also:
-
filter
(experimental) The filter pattern for the pipe source.Default: - no filter
- Parameters:
filter
- The filter pattern for the pipe source. This parameter is required.- Returns:
this
- See Also:
-
logDestinations
@Stability(Experimental) public Pipe.Builder logDestinations(List<? extends ILogDestination> logDestinations) (experimental) Destinations for the logs.Default: - no logs
- Parameters:
logDestinations
- Destinations for the logs. This parameter is required.- Returns:
this
- See Also:
-
logIncludeExecutionData
@Stability(Experimental) public Pipe.Builder logIncludeExecutionData(List<? extends IncludeExecutionData> logIncludeExecutionData) (experimental) Whether the execution data (specifically, thepayload
,awsRequest
, andawsResponse
fields) is included in the log messages for this pipe.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 .
Default: - none
- Parameters:
logIncludeExecutionData
- Whether the execution data (specifically, thepayload
,awsRequest
, andawsResponse
fields) is included in the log messages for this pipe. This parameter is required.- Returns:
this
- See Also:
-
logLevel
(experimental) The level of logging detail to include.This applies to all log destinations for the pipe.
Default: - LogLevel.ERROR
- Parameters:
logLevel
- The level of logging detail to include. This parameter is required.- Returns:
this
- See Also:
-
pipeName
(experimental) Name of the pipe in the AWS console.Default: - automatically generated name
- Parameters:
pipeName
- Name of the pipe in the AWS console. This parameter is required.- Returns:
this
-
role
(experimental) The role used by the pipe which has permissions to read from the source and write to the target.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.
Default: - a new role will be created.
- Parameters:
role
- The role used by the pipe which has permissions to read from the source and write to the target. This parameter is required.- Returns:
this
- See Also:
-
tags
(experimental) The list of key-value pairs to associate with the pipe.Default: - no tags
- Parameters:
tags
- The list of key-value pairs to associate with the pipe. This parameter is required.- Returns:
this
- See Also:
-
build
-