CognitoStreams
¶
Used by
Source code in docs_src/capo_cognito_sync/types/cognito_streams.py
role_arn
instance-attribute
¶
role_arn: NotRequired[AssumeRoleArn]
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.
stream_name
instance-attribute
¶
stream_name: NotRequired[StreamName]
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.
streaming_status
instance-attribute
¶
streaming_status: NotRequired[StreamingStatus]
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.