Class CfnIdentityPool
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.cognito.CfnIdentityPool
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:40.755Z")
@Stability(Stable)
public class CfnIdentityPool
extends CfnResource
implements IInspectable, ITaggableV2
The
AWS::Cognito::IdentityPool
resource creates an Amazon Cognito identity pool.
To avoid deleting the resource accidentally from AWS CloudFormation , use DeletionPolicy Attribute and the UpdateReplacePolicy Attribute to retain the resource on deletion or replacement.
Example:
import software.amazon.awscdk.services.cognito.*; OpenIdConnectProvider myProvider; CfnIdentityPool.Builder.create(this, "IdentityPool") .openIdConnectProviderArns(List.of(myProvider.getOpenIdConnectProviderArn())) // And the other properties for your identity pool .allowUnauthenticatedIdentities(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnIdentityPool
.static interface
CognitoIdentityProvider
is a property of the AWS::Cognito::IdentityPool resource that represents an Amazon Cognito user pool and its client ID.static interface
CognitoStreams
is a property of the AWS::Cognito::IdentityPool resource that defines configuration options for Amazon Cognito streams.static interface
PushSync
is a property of the AWS::Cognito::IdentityPool resource that defines the configuration options to be applied to an Amazon Cognito identity pool.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnIdentityPool
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnIdentityPool
(software.amazon.jsii.JsiiObjectRef objRef) CfnIdentityPool
(software.constructs.Construct scope, String id, CfnIdentityPoolProps props) -
Method Summary
Modifier and TypeMethodDescriptionEnables the Basic (Classic) authentication flow.Specifies whether the identity pool supports unauthenticated logins.The name of the Amazon Cognito identity pool, returned as a string.Tag Manager which manages the tags for this resource.The events to configure.The Amazon Cognito user pools and their client IDs.Configuration options for configuring Amazon Cognito streams.The "domain" Amazon Cognito uses when referencing your users.The name of your Amazon Cognito identity pool.Tags to assign to the identity pool.The Amazon Resource Names (ARNs) of the OpenID connect providers.The configuration options to be applied to the identity pool.The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.Key-value pairs that map provider names to provider app IDs.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAllowClassicFlow
(Boolean value) Enables the Basic (Classic) authentication flow.void
setAllowClassicFlow
(IResolvable value) Enables the Basic (Classic) authentication flow.void
Specifies whether the identity pool supports unauthenticated logins.void
Specifies whether the identity pool supports unauthenticated logins.void
setCognitoEvents
(Object value) The events to configure.void
setCognitoIdentityProviders
(List<Object> value) The Amazon Cognito user pools and their client IDs.void
The Amazon Cognito user pools and their client IDs.void
setCognitoStreams
(IResolvable value) Configuration options for configuring Amazon Cognito streams.void
Configuration options for configuring Amazon Cognito streams.void
setDeveloperProviderName
(String value) The "domain" Amazon Cognito uses when referencing your users.void
setIdentityPoolName
(String value) The name of your Amazon Cognito identity pool.void
setIdentityPoolTags
(List<CfnTag> value) Tags to assign to the identity pool.void
setOpenIdConnectProviderArns
(List<String> value) The Amazon Resource Names (ARNs) of the OpenID connect providers.void
setPushSync
(IResolvable value) The configuration options to be applied to the identity pool.void
The configuration options to be applied to the identity pool.void
setSamlProviderArns
(List<String> value) The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.void
setSupportedLoginProviders
(Object value) Key-value pairs that map provider names to provider app IDs.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnIdentityPool
protected CfnIdentityPool(software.amazon.jsii.JsiiObjectRef objRef) -
CfnIdentityPool
protected CfnIdentityPool(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnIdentityPool
@Stability(Stable) public CfnIdentityPool(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIdentityPoolProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrId
-
getAttrName
The name of the Amazon Cognito identity pool, returned as a string. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getAllowUnauthenticatedIdentities
Specifies whether the identity pool supports unauthenticated logins. -
setAllowUnauthenticatedIdentities
Specifies whether the identity pool supports unauthenticated logins. -
setAllowUnauthenticatedIdentities
Specifies whether the identity pool supports unauthenticated logins. -
getAllowClassicFlow
Enables the Basic (Classic) authentication flow. -
setAllowClassicFlow
Enables the Basic (Classic) authentication flow. -
setAllowClassicFlow
Enables the Basic (Classic) authentication flow. -
getCognitoEvents
The events to configure. -
setCognitoEvents
The events to configure. -
getCognitoIdentityProviders
The Amazon Cognito user pools and their client IDs. -
setCognitoIdentityProviders
The Amazon Cognito user pools and their client IDs. -
setCognitoIdentityProviders
The Amazon Cognito user pools and their client IDs. -
getCognitoStreams
Configuration options for configuring Amazon Cognito streams. -
setCognitoStreams
Configuration options for configuring Amazon Cognito streams. -
setCognitoStreams
@Stability(Stable) public void setCognitoStreams(@Nullable CfnIdentityPool.CognitoStreamsProperty value) Configuration options for configuring Amazon Cognito streams. -
getDeveloperProviderName
The "domain" Amazon Cognito uses when referencing your users. -
setDeveloperProviderName
The "domain" Amazon Cognito uses when referencing your users. -
getIdentityPoolName
The name of your Amazon Cognito identity pool. -
setIdentityPoolName
The name of your Amazon Cognito identity pool. -
getIdentityPoolTags
Tags to assign to the identity pool. -
setIdentityPoolTags
Tags to assign to the identity pool. -
getOpenIdConnectProviderArns
The Amazon Resource Names (ARNs) of the OpenID connect providers. -
setOpenIdConnectProviderArns
The Amazon Resource Names (ARNs) of the OpenID connect providers. -
getPushSync
The configuration options to be applied to the identity pool. -
setPushSync
The configuration options to be applied to the identity pool. -
setPushSync
The configuration options to be applied to the identity pool. -
getSamlProviderArns
The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers. -
setSamlProviderArns
The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers. -
getSupportedLoginProviders
Key-value pairs that map provider names to provider app IDs. -
setSupportedLoginProviders
Key-value pairs that map provider names to provider app IDs.
-