Class CfnIdentityPool.CognitoStreamsProperty
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
ExampleMetadata: fixture=_generated
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
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.
public string? StreamName { get; set; }
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.
public string? StreamingStatus { get; set; }
Property Value
Remarks
Valid values are: ENABLED
or DISABLED
.