@Stability(value=Stable) public static final class KinesisDestination.Builder extends Object implements software.amazon.jsii.Builder<KinesisDestination>
KinesisDestination.| Modifier and Type | Method and Description |
|---|---|
KinesisDestination |
build() |
static KinesisDestination.Builder |
create(IStream stream) |
KinesisDestination.Builder |
role(IRole role)
The role to assume to write log events to the destination.
|
@Stability(value=Stable) public static KinesisDestination.Builder create(IStream stream)
stream - The Kinesis stream to use as destination. This parameter is required.KinesisDestination.Builder.@Stability(value=Stable) public KinesisDestination.Builder role(IRole role)
Default: - A new Role is created
role - The role to assume to write log events to the destination. This parameter is required.this@Stability(value=Stable) public KinesisDestination build()
build in interface software.amazon.jsii.Builder<KinesisDestination>Copyright © 2022. All rights reserved.