Interface CfnIdentityPool.CognitoStreamsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIdentityPool.CognitoStreamsProperty.Jsii$Proxy
- Enclosing class:
CfnIdentityPool
@Stability(Stable)
public static interface CfnIdentityPool.CognitoStreamsProperty
extends software.amazon.jsii.JsiiSerializable
CognitoStreams is a property of the AWS::Cognito::IdentityPool resource that defines configuration options for Amazon Cognito streams.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
CognitoStreamsProperty cognitoStreamsProperty = CognitoStreamsProperty.builder()
.roleArn("roleArn")
.streamingStatus("streamingStatus")
.streamName("streamName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIdentityPool.CognitoStreamsPropertystatic final classAn implementation forCfnIdentityPool.CognitoStreamsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRoleArn
The Amazon Resource Name (ARN) of the role Amazon Cognito can assume to publish to the stream.This role must grant access to Amazon Cognito (cognito-sync) to invoke
PutRecordon your Amazon Cognito stream.- See Also:
-
getStreamingStatus
Status of the Amazon Cognito streams.Valid values are:
ENABLEDorDISABLED.- See Also:
-
getStreamName
The name of the Amazon Cognito stream to receive updates.This stream must be in the developer's account and in the same Region as the identity pool.
- See Also:
-
builder
-