AWSCognitoSyncCognitoStreams
Objective-C
@interface AWSCognitoSyncCognitoStreams
Swift
class AWSCognitoSyncCognitoStreams
Configuration options for configure Cognito streams.
-
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.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable roleArn;
Swift
var roleArn: String? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable streamName;
Swift
var streamName: String? { get set }
-
Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
Declaration
Objective-C
@property (nonatomic) AWSCognitoSyncStreamingStatus streamingStatus;
Swift
var streamingStatus: AWSCognitoSyncStreamingStatus { get set }