Interface CfnIdentityPool.ICognitoStreamsProperty
CognitoStreams
is a property of the AWS::Cognito::IdentityPool resource that defines configuration options for Amazon Cognito streams.
public interface CfnIdentityPool.ICognitoStreamsProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var cognitoStreamsProperty = new CognitoStreamsProperty {
RoleArn = "roleArn",
StreamingStatus = "streamingStatus",
StreamName = "streamName"
};
Remarks
ExampleMetadata: fixture=_generated
Properties
RoleArn
The Amazon Resource Name (ARN) of the role Amazon Cognito can assume to publish to the stream.
string? RoleArn { get; }
Property Value
Remarks
This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord
on your Amazon Cognito stream.
StreamName
The name of the Amazon Cognito stream to receive updates.
string? StreamName { get; }
Property Value
Remarks
This stream must be in the developer's account and in the same Region as the identity pool.
StreamingStatus
Status of the Amazon Cognito streams.
string? StreamingStatus { get; }
Property Value
Remarks
Valid values are: ENABLED
or DISABLED
.