Stream Args
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
Properties
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"
.
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
.
The configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.
The name of the QLDB ledger.
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.