CognitoStreams class

Configuration options for configure Cognito streams.

Constructors

CognitoStreams({String? roleArn, String? streamName, StreamingStatus? streamingStatus})
CognitoStreams.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
roleArn String?
The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamingStatus StreamingStatus?
Status of the Cognito streams. Valid values are: ENABLED - Streaming of updates to identity pool is enabled.
final
streamName String?
The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited