AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateIdentityProvider operation.
Adds a configuration and trust relationship between a third-party identity provider
(IdP) and a user pool. Amazon Cognito accepts sign-in with third-party identity providers
through managed login and OIDC relying-party libraries. For more information, see
Third-party
IdP sign-in.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests
for this API operation. For this operation, you must use IAM credentials to authorize
requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z
public class CreateIdentityProviderRequest : AmazonCognitoIdentityProviderRequest IAmazonWebServiceRequest
The CreateIdentityProviderRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateIdentityProviderRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AttributeMapping | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property AttributeMapping. A mapping of IdP attributes to standard and custom user pool attributes. Specify a user pool attribute as the key of the key-value pair, and the IdP attribute claim name as the value. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
IdpIdentifiers | System.Collections.Generic.List<System.String> |
Gets and sets the property IdpIdentifiers.
An array of IdP identifiers, for example |
![]() |
ProviderDetails | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property ProviderDetails.
The scopes, URLs, and identifiers for your external identity provider. The following
examples describe the provider detail keys for each IdP type. These values and their
schema are subject to change. Social IdP
|
![]() |
ProviderName | System.String |
Gets and sets the property ProviderName.
The name that you want to assign to the IdP. You can pass the identity provider name
in the |
![]() |
ProviderType | Amazon.CognitoIdentityProvider.IdentityProviderTypeType |
Gets and sets the property ProviderType. The type of IdP that you want to add. Amazon Cognito supports OIDC, SAML 2.0, Login With Amazon, Sign In With Apple, Google, and Facebook IdPs. |
![]() |
UserPoolId | System.String |
Gets and sets the property UserPoolId. The Id of the user pool where you want to create an IdP. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer