Class UserPoolIdentityProviderApple
Represents a identity provider that integrates with 'Apple'.
public class UserPoolIdentityProviderApple : Resource, IUserPoolIdentityProvider, IResource, IConstruct, IConstruct, IDependable
- Inheritance
-
UserPoolIdentityProviderApple
- Implements
-
IResourceIConstructIConstructIDependable
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 userPoolIdentityProviderApple = new UserPoolIdentityProviderApple(this, "MyUserPoolIdentityProviderApple", new UserPoolIdentityProviderAppleProps {
ClientId = "clientId",
KeyId = "keyId",
PrivateKey = "privateKey",
TeamId = "teamId",
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
},
Scopes = new [] { "scopes" }
});
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: fixture=_generated
Constructors
UserPoolIdentityProviderApple(Construct, string, IUserPoolIdentityProviderAppleProps)
public UserPoolIdentityProviderApple(Construct scope, string id, IUserPoolIdentityProviderAppleProps props)
Parameters
scope
Constructid
stringprops
IUserPoolIdentityProviderAppleProps
Properties
ProviderName
The primary identifier of this identity provider.
public virtual string ProviderName { get; }
Property Value
Methods
ConfigureAttributeMapping()
protected virtual object ConfigureAttributeMapping()