@Stability(value=Stable)
public static interface CfnIdentityPool.CognitoStreamsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIdentityPool.CognitoStreamsProperty.Builder
A builder for
CfnIdentityPool.CognitoStreamsProperty |
static class |
CfnIdentityPool.CognitoStreamsProperty.Jsii$Proxy
An implementation for
CfnIdentityPool.CognitoStreamsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnIdentityPool.CognitoStreamsProperty.Builder |
builder() |
default String |
getRoleArn()
The Amazon Resource Name (ARN) of the role Amazon Cognito can assume to publish to the stream.
|
default String |
getStreamingStatus()
Status of the Amazon Cognito streams.
|
default String |
getStreamName()
The name of the Amazon Cognito stream to receive updates.
|
@Stability(value=Stable) @Nullable default String getRoleArn()
This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Amazon Cognito stream.
@Stability(value=Stable) @Nullable default String getStreamingStatus()
Valid values are: ENABLED or DISABLED .
@Stability(value=Stable) @Nullable default String getStreamName()
This stream must be in the developer's account and in the same Region as the identity pool.
@Stability(value=Stable) static CfnIdentityPool.CognitoStreamsProperty.Builder builder()
Copyright © 2022. All rights reserved.