Class UserPoolIdentityProviderProps
Properties to create a new instance of UserPoolIdentityProvider.
Inheritance
System.Object
UserPoolIdentityProviderProps
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class UserPoolIdentityProviderProps : Object, IUserPoolIdentityProviderProps
Syntax (vb)
Public Class UserPoolIdentityProviderProps
Inherits Object
Implements IUserPoolIdentityProviderProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
ProviderAttribute providerAttribute;
UserPool userPool;
var userPoolIdentityProviderProps = new UserPoolIdentityProviderProps {
UserPool = userPool,
// the properties below are optional
AttributeMapping = new AttributeMapping {
Address = providerAttribute,
Birthdate = providerAttribute,
Custom = new Dictionary<string, ProviderAttribute> {
{ "customKey", providerAttribute }
},
Email = providerAttribute,
FamilyName = providerAttribute,
Fullname = providerAttribute,
Gender = providerAttribute,
GivenName = providerAttribute,
LastUpdateTime = providerAttribute,
Locale = providerAttribute,
MiddleName = providerAttribute,
Nickname = providerAttribute,
PhoneNumber = providerAttribute,
PreferredUsername = providerAttribute,
ProfilePage = providerAttribute,
ProfilePicture = providerAttribute,
Timezone = providerAttribute,
Website = providerAttribute
}
};
Synopsis
Constructors
UserPoolIdentityProviderProps() |
Properties
AttributeMapping | Mapping attributes from the identity provider to standard and custom attributes of the user pool. |
UserPool | The user pool to which this construct provides identities. |
Constructors
UserPoolIdentityProviderProps()
public UserPoolIdentityProviderProps()
Properties
AttributeMapping
Mapping attributes from the identity provider to standard and custom attributes of the user pool.
public IAttributeMapping AttributeMapping { get; set; }
Property Value
Remarks
Default: - no attribute mapping
UserPool
The user pool to which this construct provides identities.
public IUserPool UserPool { get; set; }
Property Value