CfnIdentityPoolMixinProps
- class aws_cdk.mixins_preview.aws_cognito.mixins.CfnIdentityPoolMixinProps(*, allow_classic_flow=None, allow_unauthenticated_identities=None, cognito_events=None, cognito_identity_providers=None, cognito_streams=None, developer_provider_name=None, identity_pool_name=None, identity_pool_tags=None, open_id_connect_provider_arns=None, push_sync=None, saml_provider_arns=None, supported_login_providers=None)
Bases:
objectProperties for CfnIdentityPoolPropsMixin.
- Parameters:
allow_classic_flow (
Union[bool,IResolvable,None]) – Enables the Basic (Classic) authentication flow.allow_unauthenticated_identities (
Union[bool,IResolvable,None]) – Specifies whether the identity pool supports unauthenticated logins.cognito_events (
Any) – The events to configure.cognito_identity_providers (
Union[IResolvable,Sequence[Union[IResolvable,CognitoIdentityProviderProperty,Dict[str,Any]]],None]) – The Amazon Cognito user pools and their client IDs.cognito_streams (
Union[IResolvable,CognitoStreamsProperty,Dict[str,Any],None]) – Configuration options for configuring Amazon Cognito streams.developer_provider_name (
Optional[str]) – 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 theDeveloperProviderName, you can use letters and periods (.), underscores (_), and dashes (-). Minimum length : 1 Maximum length : 100identity_pool_name (
Optional[str]) – The name of your Amazon Cognito identity pool. Minimum length : 1 Maximum length : 128 Pattern :[\w\s+=,.@-]+identity_pool_tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.open_id_connect_provider_arns (
Optional[Sequence[str]]) – The Amazon Resource Names (ARNs) of the OpenID connect providers.push_sync (
Union[IResolvable,PushSyncProperty,Dict[str,Any],None]) – The configuration options to be applied to the identity pool.saml_provider_arns (
Optional[Sequence[str]]) – The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.supported_login_providers (
Any) – Key-value pairs that map provider names to provider app IDs.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cognito import mixins as cognito_mixins # cognito_events: Any # supported_login_providers: Any cfn_identity_pool_mixin_props = cognito_mixins.CfnIdentityPoolMixinProps( allow_classic_flow=False, allow_unauthenticated_identities=False, cognito_events=cognito_events, cognito_identity_providers=[cognito_mixins.CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty( client_id="clientId", provider_name="providerName", server_side_token_check=False )], cognito_streams=cognito_mixins.CfnIdentityPoolPropsMixin.CognitoStreamsProperty( role_arn="roleArn", streaming_status="streamingStatus", stream_name="streamName" ), developer_provider_name="developerProviderName", identity_pool_name="identityPoolName", identity_pool_tags=[CfnTag( key="key", value="value" )], open_id_connect_provider_arns=["openIdConnectProviderArns"], push_sync=cognito_mixins.CfnIdentityPoolPropsMixin.PushSyncProperty( application_arns=["applicationArns"], role_arn="roleArn" ), saml_provider_arns=["samlProviderArns"], supported_login_providers=supported_login_providers )
Attributes
- allow_classic_flow
Enables the Basic (Classic) authentication flow.
- allow_unauthenticated_identities
Specifies whether the identity pool supports unauthenticated logins.
- cognito_events
The events to configure.
- cognito_identity_providers
The Amazon Cognito user pools and their client IDs.
- cognito_streams
Configuration options for configuring Amazon Cognito streams.
- developer_provider_name
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
- identity_pool_name
The name of your Amazon Cognito identity pool.
Minimum length : 1
Maximum length : 128
Pattern :
[\w\s+=,.@-]+
- identity_pool_tags
Tags to assign to the identity pool.
A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
- open_id_connect_provider_arns
The Amazon Resource Names (ARNs) of the OpenID connect providers.
- push_sync
The configuration options to be applied to the identity pool.
- saml_provider_arns
The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- supported_login_providers
Key-value pairs that map provider names to provider app IDs.