Class DeliveryStream.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.alpha.DeliveryStream.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeliveryStream>
- Enclosing class:
DeliveryStream
@Stability(Experimental)
public static final class DeliveryStream.Builder
extends Object
implements software.amazon.jsii.Builder<DeliveryStream>
(experimental) A fluent builder for
DeliveryStream
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static DeliveryStream.Builder
deliveryStreamName
(String deliveryStreamName) (experimental) A name for the delivery stream.destination
(IDestination destination) (experimental) The destination that this delivery stream will deliver data to.encryption
(StreamEncryption encryption) (experimental) Indicates the type of customer master key (CMK) to use for server-side encryption, if any.(experimental) The IAM role associated with this delivery stream.(experimental) The Kinesis data stream to use as a source for this delivery stream.
-
Method Details
-
create
@Stability(Experimental) public static DeliveryStream.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
DeliveryStream.Builder
.
-
destination
(experimental) The destination that this delivery stream will deliver data to.- Parameters:
destination
- The destination that this delivery stream will deliver data to. This parameter is required.- Returns:
this
-
deliveryStreamName
@Stability(Experimental) public DeliveryStream.Builder deliveryStreamName(String deliveryStreamName) (experimental) A name for the delivery stream.Default: - a name is generated by CloudFormation.
- Parameters:
deliveryStreamName
- A name for the delivery stream. This parameter is required.- Returns:
this
-
encryption
(experimental) Indicates the type of customer master key (CMK) to use for server-side encryption, if any.Default: StreamEncryption.unencrypted()
- Parameters:
encryption
- Indicates the type of customer master key (CMK) to use for server-side encryption, if any. This parameter is required.- Returns:
this
-
role
(experimental) The IAM role associated with this delivery stream.Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side.
Default: - a role will be created with default permissions.
- Parameters:
role
- The IAM role associated with this delivery stream. This parameter is required.- Returns:
this
-
source
(experimental) The Kinesis data stream to use as a source for this delivery stream.Default: - data must be written to the delivery stream via a direct put.
- Parameters:
source
- The Kinesis data stream to use as a source for this delivery stream. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DeliveryStream>
- Returns:
- a newly built instance of
DeliveryStream
.
-