Table of Contents

Class CfnIdentityPool.CognitoStreamsProperty

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

CognitoStreams is a property of the AWS::Cognito::IdentityPool resource that defines configuration options for Amazon Cognito streams.

public class CfnIdentityPool.CognitoStreamsProperty : CfnIdentityPool.ICognitoStreamsProperty
Inheritance
CfnIdentityPool.CognitoStreamsProperty
Implements
Inherited Members

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

Constructors

CognitoStreamsProperty()

public CognitoStreamsProperty()

Properties

RoleArn

The Amazon Resource Name (ARN) of the role Amazon Cognito can assume to publish to the stream.

public string? RoleArn { get; set; }

Property Value

string

Remarks

This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Amazon Cognito stream.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html#cfn-cognito-identitypool-cognitostreams-rolearn

StreamName

The name of the Amazon Cognito stream to receive updates.

public string? StreamName { get; set; }

Property Value

string

Remarks

StreamingStatus

Status of the Amazon Cognito streams.

public string? StreamingStatus { get; set; }

Property Value

string

Remarks