Class StreamSpecification
Whether a table has a stream and what its records contain.
public sealed record StreamSpecification : IEquatable<StreamSpecification>
- Inheritance
-
StreamSpecification
- Implements
- Inherited Members
Remarks
The stream is read with DynamoDbStreamsClient. Stream records are kept for 24 hours.
Constructors
StreamSpecification()
public StreamSpecification()
Properties
StreamEnabled
Gets a value indicating whether the table has a stream.
public required bool StreamEnabled { get; init; }
Property Value
StreamViewType
Gets what the records of the stream contain. Required by DynamoDB when StreamEnabled is true; Unspecified (the default) sends nothing, and DynamoDB then rejects the request. When reading, Unspecified also means that none was reported, as for a table without a stream.
public StreamViewType StreamViewType { get; init; }
Property Value
Methods
Equals(StreamSpecification?)
public bool Equals(StreamSpecification? other)
Parameters
otherStreamSpecification
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(StreamSpecification?, StreamSpecification?)
public static bool operator ==(StreamSpecification? left, StreamSpecification? right)
Parameters
leftStreamSpecificationrightStreamSpecification
Returns
operator !=(StreamSpecification?, StreamSpecification?)
public static bool operator !=(StreamSpecification? left, StreamSpecification? right)
Parameters
leftStreamSpecificationrightStreamSpecification