public static final class CfnIdentityPoolProps.Builder
extends java.lang.Object
CfnIdentityPoolProps
Constructor and Description |
---|
Builder() |
public CfnIdentityPoolProps.Builder allowUnauthenticatedIdentities(java.lang.Boolean allowUnauthenticatedIdentities)
CfnIdentityPoolProps.getAllowUnauthenticatedIdentities()
allowUnauthenticatedIdentities
- Specifies whether the identity pool supports unauthenticated logins. This parameter is required.this
public CfnIdentityPoolProps.Builder allowUnauthenticatedIdentities(IResolvable allowUnauthenticatedIdentities)
CfnIdentityPoolProps.getAllowUnauthenticatedIdentities()
allowUnauthenticatedIdentities
- Specifies whether the identity pool supports unauthenticated logins. This parameter is required.this
public CfnIdentityPoolProps.Builder allowClassicFlow(java.lang.Boolean allowClassicFlow)
CfnIdentityPoolProps.getAllowClassicFlow()
allowClassicFlow
- Enables the Basic (Classic) authentication flow.this
public CfnIdentityPoolProps.Builder allowClassicFlow(IResolvable allowClassicFlow)
CfnIdentityPoolProps.getAllowClassicFlow()
allowClassicFlow
- Enables the Basic (Classic) authentication flow.this
public CfnIdentityPoolProps.Builder cognitoEvents(java.lang.Object cognitoEvents)
CfnIdentityPoolProps.getCognitoEvents()
cognitoEvents
- The events to configure.this
public CfnIdentityPoolProps.Builder cognitoIdentityProviders(IResolvable cognitoIdentityProviders)
CfnIdentityPoolProps.getCognitoIdentityProviders()
cognitoIdentityProviders
- The Amazon Cognito user pools and their client IDs.this
public CfnIdentityPoolProps.Builder cognitoIdentityProviders(java.util.List<? extends java.lang.Object> cognitoIdentityProviders)
CfnIdentityPoolProps.getCognitoIdentityProviders()
cognitoIdentityProviders
- The Amazon Cognito user pools and their client IDs.this
public CfnIdentityPoolProps.Builder cognitoStreams(IResolvable cognitoStreams)
CfnIdentityPoolProps.getCognitoStreams()
cognitoStreams
- Configuration options for configuring Amazon Cognito streams.this
public CfnIdentityPoolProps.Builder cognitoStreams(CfnIdentityPool.CognitoStreamsProperty cognitoStreams)
CfnIdentityPoolProps.getCognitoStreams()
cognitoStreams
- Configuration options for configuring Amazon Cognito streams.this
public CfnIdentityPoolProps.Builder developerProviderName(java.lang.String developerProviderName)
CfnIdentityPoolProps.getDeveloperProviderName()
developerProviderName
- The "domain" Amazon Cognito uses when referencing your users.
This name acts as a placeholder that allows your backend and the Amazon Cognito service to communicate about the developer provider. For the DeveloperProviderName
, you can use letters and periods (.), underscores (_), and dashes (-).
Minimum length : 1
Maximum length : 100
this
public CfnIdentityPoolProps.Builder identityPoolName(java.lang.String identityPoolName)
CfnIdentityPoolProps.getIdentityPoolName()
identityPoolName
- The name of your Amazon Cognito identity pool.
Minimum length : 1
Maximum length : 128
Pattern : [\w\s+=,.@-]+
this
public CfnIdentityPoolProps.Builder openIdConnectProviderArns(java.util.List<java.lang.String> openIdConnectProviderArns)
CfnIdentityPoolProps.getOpenIdConnectProviderArns()
openIdConnectProviderArns
- The Amazon Resource Names (ARNs) of the OpenID connect providers.this
public CfnIdentityPoolProps.Builder pushSync(IResolvable pushSync)
CfnIdentityPoolProps.getPushSync()
pushSync
- The configuration options to be applied to the identity pool.this
public CfnIdentityPoolProps.Builder pushSync(CfnIdentityPool.PushSyncProperty pushSync)
CfnIdentityPoolProps.getPushSync()
pushSync
- The configuration options to be applied to the identity pool.this
public CfnIdentityPoolProps.Builder samlProviderArns(java.util.List<java.lang.String> samlProviderArns)
CfnIdentityPoolProps.getSamlProviderArns()
samlProviderArns
- The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.this
public CfnIdentityPoolProps.Builder supportedLoginProviders(java.lang.Object supportedLoginProviders)
CfnIdentityPoolProps.getSupportedLoginProviders()
supportedLoginProviders
- Key-value pairs that map provider names to provider app IDs.this
public CfnIdentityPoolProps build()
CfnIdentityPoolProps
java.lang.NullPointerException
- if any required attribute was not provided