Class DeliveryStream.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.DeliveryStream.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeliveryStream>
- Enclosing class:
DeliveryStream
@Stability(Stable)
public static final class DeliveryStream.Builder
extends Object
implements software.amazon.jsii.Builder<DeliveryStream>
A fluent builder for
DeliveryStream.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static DeliveryStream.BuilderdeliveryStreamName(String deliveryStreamName) A name for the delivery stream.destination(IDestination destination) The destination that this delivery stream will deliver data to.encryption(StreamEncryption encryption) Indicates the type of customer master key (CMK) to use for server-side encryption, if any.The IAM role associated with this delivery stream.The Kinesis data stream to use as a source for this delivery stream.
-
Method Details
-
create
@Stability(Stable) 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
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
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
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
The IAM role associated with this delivery stream.Assumed by Amazon 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
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:
buildin interfacesoftware.amazon.jsii.Builder<DeliveryStream>- Returns:
- a newly built instance of
DeliveryStream.
-