StreamArgs

data class StreamArgs(val exclusiveEndTime: Output<String>? = null, val inclusiveStartTime: Output<String>? = null, val kinesisConfiguration: Output<StreamKinesisConfigurationArgs>? = null, val ledgerName: Output<String>? = null, val roleArn: Output<String>? = null, val streamName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<StreamArgs>

Provides an AWS Quantum Ledger Database (QLDB) Stream resource

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.qldb.Stream;
import com.pulumi.aws.qldb.StreamArgs;
import com.pulumi.aws.qldb.inputs.StreamKinesisConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Stream("example", StreamArgs.builder()
.inclusiveStartTime("2021-01-01T00:00:00Z")
.kinesisConfiguration(StreamKinesisConfigurationArgs.builder()
.aggregationEnabled(false)
.streamArn("arn:aws:kinesis:us-east-1:xxxxxxxxxxxx:stream/example-kinesis-stream")
.build())
.ledgerName("existing-ledger-name")
.roleArn("sample-role-arn")
.streamName("sample-ledger-stream")
.tags(Map.of("example", "tag"))
.build());
}
}

Constructors

Link copied to clipboard
constructor(exclusiveEndTime: Output<String>? = null, inclusiveStartTime: Output<String>? = null, kinesisConfiguration: Output<StreamKinesisConfigurationArgs>? = null, ledgerName: Output<String>? = null, roleArn: Output<String>? = null, streamName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val exclusiveEndTime: Output<String>? = null

The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it. It must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: "2019-06-13T21:36:34Z".

Link copied to clipboard
val inclusiveStartTime: Output<String>? = null

The inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: "2019-06-13T21:36:34Z". This cannot be in the future and must be before exclusive_end_time. If you provide a value that is before the ledger's CreationDateTime, QLDB effectively defaults it to the ledger's CreationDateTime.

Link copied to clipboard

The configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.

Link copied to clipboard
val ledgerName: Output<String>? = null

The name of the QLDB ledger.

Link copied to clipboard
val roleArn: Output<String>? = null

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.

Link copied to clipboard
val streamName: Output<String>? = null

The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream. Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the Amazon QLDB Developer Guide.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): StreamArgs