Class: Aws::CognitoSync::Types::CognitoStreams
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoSync::Types::CognitoStreams
- Defined in:
- gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb
Overview
Configuration options for configure Cognito streams.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#role_arn ⇒ String
The ARN of the role Amazon Cognito can assume in order to publish to the stream.
-
#stream_name ⇒ String
The name of the Cognito stream to receive updates.
-
#streaming_status ⇒ String
Status of the Cognito streams.
Instance Attribute Details
#role_arn ⇒ 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.
84 85 86 87 88 89 90 |
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 84 class CognitoStreams < Struct.new( :stream_name, :role_arn, :streaming_status) SENSITIVE = [] include Aws::Structure end |
#stream_name ⇒ 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.
84 85 86 87 88 89 90 |
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 84 class CognitoStreams < Struct.new( :stream_name, :role_arn, :streaming_status) SENSITIVE = [] include Aws::Structure end |
#streaming_status ⇒ String
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.
84 85 86 87 88 89 90 |
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 84 class CognitoStreams < Struct.new( :stream_name, :role_arn, :streaming_status) SENSITIVE = [] include Aws::Structure end |