We recommend new projects start with resources from the AWS provider.
aws-native.cognito.getIdentityPool
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Cognito::IdentityPool
Using getIdentityPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIdentityPool(args: GetIdentityPoolArgs, opts?: InvokeOptions): Promise<GetIdentityPoolResult>
function getIdentityPoolOutput(args: GetIdentityPoolOutputArgs, opts?: InvokeOptions): Output<GetIdentityPoolResult>def get_identity_pool(id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIdentityPoolResult
def get_identity_pool_output(id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetIdentityPoolResult]func LookupIdentityPool(ctx *Context, args *LookupIdentityPoolArgs, opts ...InvokeOption) (*LookupIdentityPoolResult, error)
func LookupIdentityPoolOutput(ctx *Context, args *LookupIdentityPoolOutputArgs, opts ...InvokeOption) LookupIdentityPoolResultOutput> Note: This function is named LookupIdentityPool in the Go SDK.
public static class GetIdentityPool 
{
    public static Task<GetIdentityPoolResult> InvokeAsync(GetIdentityPoolArgs args, InvokeOptions? opts = null)
    public static Output<GetIdentityPoolResult> Invoke(GetIdentityPoolInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentityPoolResult> getIdentityPool(GetIdentityPoolArgs args, InvokeOptions options)
public static Output<GetIdentityPoolResult> getIdentityPool(GetIdentityPoolArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cognito:getIdentityPool
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getIdentityPool Result
The following output properties are available:
- AllowClassic boolFlow 
- Enables the Basic (Classic) authentication flow.
- AllowUnauthenticated boolIdentities 
- Specifies whether the identity pool supports unauthenticated logins.
- CognitoIdentity List<Pulumi.Providers Aws Native. Cognito. Outputs. Identity Pool Cognito Identity Provider> 
- The Amazon Cognito user pools and their client IDs.
- DeveloperProvider stringName 
- 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 
- Id string
- IdentityPool stringName 
- The name of your Amazon Cognito identity pool. - Minimum length : 1 - Maximum length : 128 - Pattern : - [\w\s+=,.@-]+
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this resource.
- Name string
- The name of the Amazon Cognito identity pool, returned as a string.
- OpenId List<string>Connect Provider Arns 
- The Amazon Resource Names (ARNs) of the OpenID connect providers.
- SamlProvider List<string>Arns 
- The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- SupportedLogin objectProviders 
- Key-value pairs that map provider names to provider app IDs. - Search the CloudFormation User Guide for - AWS::Cognito::IdentityPoolfor more information about the expected schema for this property.
- AllowClassic boolFlow 
- Enables the Basic (Classic) authentication flow.
- AllowUnauthenticated boolIdentities 
- Specifies whether the identity pool supports unauthenticated logins.
- CognitoIdentity []IdentityProviders Pool Cognito Identity Provider 
- The Amazon Cognito user pools and their client IDs.
- DeveloperProvider stringName 
- 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 
- Id string
- IdentityPool stringName 
- The name of your Amazon Cognito identity pool. - Minimum length : 1 - Maximum length : 128 - Pattern : - [\w\s+=,.@-]+
- Tag
- An array of key-value pairs to apply to this resource.
- Name string
- The name of the Amazon Cognito identity pool, returned as a string.
- OpenId []stringConnect Provider Arns 
- The Amazon Resource Names (ARNs) of the OpenID connect providers.
- SamlProvider []stringArns 
- The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- SupportedLogin interface{}Providers 
- Key-value pairs that map provider names to provider app IDs. - Search the CloudFormation User Guide for - AWS::Cognito::IdentityPoolfor more information about the expected schema for this property.
- allowClassic BooleanFlow 
- Enables the Basic (Classic) authentication flow.
- allowUnauthenticated BooleanIdentities 
- Specifies whether the identity pool supports unauthenticated logins.
- cognitoIdentity List<IdentityProviders Pool Cognito Identity Provider> 
- The Amazon Cognito user pools and their client IDs.
- developerProvider StringName 
- 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 
- id String
- identityPool StringName 
- The name of your Amazon Cognito identity pool. - Minimum length : 1 - Maximum length : 128 - Pattern : - [\w\s+=,.@-]+
- List<Tag>
- An array of key-value pairs to apply to this resource.
- name String
- The name of the Amazon Cognito identity pool, returned as a string.
- openId List<String>Connect Provider Arns 
- The Amazon Resource Names (ARNs) of the OpenID connect providers.
- samlProvider List<String>Arns 
- The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- supportedLogin ObjectProviders 
- Key-value pairs that map provider names to provider app IDs. - Search the CloudFormation User Guide for - AWS::Cognito::IdentityPoolfor more information about the expected schema for this property.
- allowClassic booleanFlow 
- Enables the Basic (Classic) authentication flow.
- allowUnauthenticated booleanIdentities 
- Specifies whether the identity pool supports unauthenticated logins.
- cognitoIdentity IdentityProviders Pool Cognito Identity Provider[] 
- The Amazon Cognito user pools and their client IDs.
- developerProvider stringName 
- 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 
- id string
- identityPool stringName 
- The name of your Amazon Cognito identity pool. - Minimum length : 1 - Maximum length : 128 - Pattern : - [\w\s+=,.@-]+
- Tag[]
- An array of key-value pairs to apply to this resource.
- name string
- The name of the Amazon Cognito identity pool, returned as a string.
- openId string[]Connect Provider Arns 
- The Amazon Resource Names (ARNs) of the OpenID connect providers.
- samlProvider string[]Arns 
- The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- supportedLogin anyProviders 
- Key-value pairs that map provider names to provider app IDs. - Search the CloudFormation User Guide for - AWS::Cognito::IdentityPoolfor more information about the expected schema for this property.
- allow_classic_ boolflow 
- Enables the Basic (Classic) authentication flow.
- allow_unauthenticated_ boolidentities 
- Specifies whether the identity pool supports unauthenticated logins.
- cognito_identity_ Sequence[Identityproviders Pool Cognito Identity Provider] 
- The Amazon Cognito user pools and their client IDs.
- developer_provider_ strname 
- 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 
- id str
- identity_pool_ strname 
- The name of your Amazon Cognito identity pool. - Minimum length : 1 - Maximum length : 128 - Pattern : - [\w\s+=,.@-]+
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- name str
- The name of the Amazon Cognito identity pool, returned as a string.
- open_id_ Sequence[str]connect_ provider_ arns 
- The Amazon Resource Names (ARNs) of the OpenID connect providers.
- saml_provider_ Sequence[str]arns 
- The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- supported_login_ Anyproviders 
- Key-value pairs that map provider names to provider app IDs. - Search the CloudFormation User Guide for - AWS::Cognito::IdentityPoolfor more information about the expected schema for this property.
- allowClassic BooleanFlow 
- Enables the Basic (Classic) authentication flow.
- allowUnauthenticated BooleanIdentities 
- Specifies whether the identity pool supports unauthenticated logins.
- cognitoIdentity List<Property Map>Providers 
- The Amazon Cognito user pools and their client IDs.
- developerProvider StringName 
- 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 
- id String
- identityPool StringName 
- The name of your Amazon Cognito identity pool. - Minimum length : 1 - Maximum length : 128 - Pattern : - [\w\s+=,.@-]+
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- name String
- The name of the Amazon Cognito identity pool, returned as a string.
- openId List<String>Connect Provider Arns 
- The Amazon Resource Names (ARNs) of the OpenID connect providers.
- samlProvider List<String>Arns 
- The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- supportedLogin AnyProviders 
- Key-value pairs that map provider names to provider app IDs. - Search the CloudFormation User Guide for - AWS::Cognito::IdentityPoolfor more information about the expected schema for this property.
Supporting Types
IdentityPoolCognitoIdentityProvider    
- ClientId string
- The client ID for the Amazon Cognito user pool.
- ProviderName string
- The provider name for an Amazon Cognito user pool. For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789.
- ServerSide boolToken Check 
- TRUE if server-side token validation is enabled for the identity provider’s token. - After you set the - ServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.- If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. 
- ClientId string
- The client ID for the Amazon Cognito user pool.
- ProviderName string
- The provider name for an Amazon Cognito user pool. For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789.
- ServerSide boolToken Check 
- TRUE if server-side token validation is enabled for the identity provider’s token. - After you set the - ServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.- If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. 
- clientId String
- The client ID for the Amazon Cognito user pool.
- providerName String
- The provider name for an Amazon Cognito user pool. For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789.
- serverSide BooleanToken Check 
- TRUE if server-side token validation is enabled for the identity provider’s token. - After you set the - ServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.- If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. 
- clientId string
- The client ID for the Amazon Cognito user pool.
- providerName string
- The provider name for an Amazon Cognito user pool. For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789.
- serverSide booleanToken Check 
- TRUE if server-side token validation is enabled for the identity provider’s token. - After you set the - ServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.- If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. 
- client_id str
- The client ID for the Amazon Cognito user pool.
- provider_name str
- The provider name for an Amazon Cognito user pool. For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789.
- server_side_ booltoken_ check 
- TRUE if server-side token validation is enabled for the identity provider’s token. - After you set the - ServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.- If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. 
- clientId String
- The client ID for the Amazon Cognito user pool.
- providerName String
- The provider name for an Amazon Cognito user pool. For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789.
- serverSide BooleanToken Check 
- TRUE if server-side token validation is enabled for the identity provider’s token. - After you set the - ServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.- If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. 
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.