Interface CfnStreamMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStreamMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.qldb.*;
CfnStreamMixinProps cfnStreamMixinProps = CfnStreamMixinProps.builder()
.exclusiveEndTime("exclusiveEndTime")
.inclusiveStartTime("inclusiveStartTime")
.kinesisConfiguration(KinesisConfigurationProperty.builder()
.aggregationEnabled(false)
.streamArn("streamArn")
.build())
.ledgerName("ledgerName")
.roleArn("roleArn")
.streamName("streamName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStreamMixinPropsstatic final classAn implementation forCfnStreamMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStreamMixinProps.Builderbuilder()default StringThe exclusive date and time that specifies when the stream ends.default StringThe inclusive start date and time from which to start streaming journal data.default ObjectThe configuration settings of the Kinesis Data Streams destination for your stream request.default StringThe name of the ledger.default ObjectThe 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.default StringThe name that you want to assign to the QLDB journal stream.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExclusiveEndTime
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.
The
ExclusiveEndTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.- See Also:
-
getInclusiveStartTime
The inclusive start date and time from which to start streaming journal data.This parameter must be in
ISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
InclusiveStartTimecannot be in the future and must be beforeExclusiveEndTime.If you provide an
InclusiveStartTimethat is before the ledger'sCreationDateTime, QLDB effectively defaults it to the ledger'sCreationDateTime.- See Also:
-
getKinesisConfiguration
The configuration settings of the Kinesis Data Streams destination for your stream request.Returns union: either
IResolvableorCfnStreamPropsMixin.KinesisConfigurationProperty- See Also:
-
getLedgerName
The name of the ledger.- See Also:
-
getRoleArn
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.To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the
iam:PassRoleaction on the IAM role resource. This is required for all journal stream requests.- See Also:
-
getStreamName
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 Quotas in Amazon QLDB in the Amazon QLDB Developer Guide .
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnStreamMixinProps.BuilderofCfnStreamMixinProps
-