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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cognito:getIdentityPool
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getIdentityPool Result
The following output properties are available:
- Allow
Classic boolFlow - Enables the Basic (Classic) authentication flow.
- Allow
Unauthenticated boolIdentities - Specifies whether the identity pool supports unauthenticated logins.
- Cognito
Identity List<Pulumi.Providers Aws Native. Cognito. Outputs. Identity Pool Cognito Identity Provider> - The Amazon Cognito user pools and their client IDs.
- Developer
Provider 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
- Identity
Pool 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.
- Open
Id List<string>Connect Provider Arns - The Amazon Resource Names (ARNs) of the OpenID connect providers.
- Saml
Provider List<string>Arns - The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- Supported
Login objectProviders Key-value pairs that map provider names to provider app IDs.
Search the CloudFormation User Guide for
AWS::Cognito::IdentityPool
for 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 []IdentityProviders Pool Cognito Identity Provider - The Amazon Cognito user pools and their client IDs.
- Developer
Provider 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
- Identity
Pool 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.
- Open
Id []stringConnect Provider Arns - The Amazon Resource Names (ARNs) of the OpenID connect providers.
- Saml
Provider []stringArns - The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- Supported
Login interface{}Providers Key-value pairs that map provider names to provider app IDs.
Search the CloudFormation User Guide for
AWS::Cognito::IdentityPool
for more information about the expected schema for this property.
- allow
Classic BooleanFlow - Enables the Basic (Classic) authentication flow.
- allow
Unauthenticated BooleanIdentities - Specifies whether the identity pool supports unauthenticated logins.
- cognito
Identity List<IdentityProviders Pool Cognito Identity Provider> - The Amazon Cognito user pools and their client IDs.
- developer
Provider 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
- identity
Pool 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.
- open
Id List<String>Connect Provider Arns - The Amazon Resource Names (ARNs) of the OpenID connect providers.
- saml
Provider List<String>Arns - The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
- supported
Login ObjectProviders Key-value pairs that map provider names to provider app IDs.
Search the CloudFormation User Guide for
AWS::Cognito::IdentityPool
for more information about the expected schema for this property.
- allow
Classic booleanFlow - Enables the Basic (Classic) authentication flow.
- allow
Unauthenticated booleanIdentities - Specifies whether the identity pool supports unauthenticated logins.
- cognito
Identity IdentityProviders Pool Cognito Identity Provider[] - The Amazon Cognito user pools and their client IDs.
- developer
Provider 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
- identity
Pool 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.
- open
Id string[]Connect Provider Arns - The Amazon Resource Names (ARNs) of the OpenID connect providers.
- saml
Provider string[]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::IdentityPool
for 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::IdentityPool
for more information about the expected schema for this property.
- allow
Classic BooleanFlow - Enables the Basic (Classic) authentication flow.
- allow
Unauthenticated BooleanIdentities - Specifies whether the identity pool supports unauthenticated logins.
- cognito
Identity List<Property Map>Providers - The Amazon Cognito user pools and their client IDs.
- developer
Provider 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
- identity
Pool 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.
- open
Id List<String>Connect Provider Arns - The Amazon Resource Names (ARNs) of the OpenID connect providers.
- saml
Provider List<String>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::IdentityPool
for more information about the expected schema for this property.
Supporting Types
IdentityPoolCognitoIdentityProvider
- Client
Id string - The client ID for the Amazon Cognito user pool.
- Provider
Name string - 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
ServerSideTokenCheck
to 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 string - The client ID for the Amazon Cognito user pool.
- Provider
Name string - 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
ServerSideTokenCheck
to 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 String - The client ID for the Amazon Cognito user pool.
- provider
Name String - The provider name for an Amazon Cognito user pool. For example:
cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789
. - server
Side BooleanToken Check TRUE if server-side token validation is enabled for the identity provider’s token.
After you set the
ServerSideTokenCheck
to 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 string - The client ID for the Amazon Cognito user pool.
- provider
Name string - The provider name for an Amazon Cognito user pool. For example:
cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789
. - server
Side booleanToken Check TRUE if server-side token validation is enabled for the identity provider’s token.
After you set the
ServerSideTokenCheck
to 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
ServerSideTokenCheck
to 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 String - The client ID for the Amazon Cognito user pool.
- provider
Name String - The provider name for an Amazon Cognito user pool. For example:
cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789
. - server
Side BooleanToken Check TRUE if server-side token validation is enabled for the identity provider’s token.
After you set the
ServerSideTokenCheck
to 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.