Class UserPoolIdentityProviderAmazon
Represents a identity provider that integrates with 'Login with Amazon'.
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class UserPoolIdentityProviderAmazon : Resource, IUserPoolIdentityProvider, IResource, IConstruct, IDependable
Syntax (vb)
Public Class UserPoolIdentityProviderAmazon
Inherits Resource
Implements IUserPoolIdentityProvider, IResource, IConstruct, IDependable
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: infused
Examples
var pool = new UserPool(this, "Pool");
var provider = new UserPoolIdentityProviderAmazon(this, "Amazon", new UserPoolIdentityProviderAmazonProps {
UserPool = pool,
ClientId = "amzn-client-id",
ClientSecret = "amzn-client-secret"
});
var client = pool.AddClient("app-client", new UserPoolClientOptions {
// ...
SupportedIdentityProviders = new [] { UserPoolClientIdentityProvider.AMAZON }
});
client.Node.AddDependency(provider);
Synopsis
Constructors
UserPoolIdentityProviderAmazon(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
UserPoolIdentityProviderAmazon(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
UserPoolIdentityProviderAmazon(Construct, String, IUserPoolIdentityProviderAmazonProps) |
Properties
ProviderName | The primary identifier of this identity provider. |
Methods
ConfigureAttributeMapping() |
Constructors
UserPoolIdentityProviderAmazon(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected UserPoolIdentityProviderAmazon(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
UserPoolIdentityProviderAmazon(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected UserPoolIdentityProviderAmazon(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
UserPoolIdentityProviderAmazon(Construct, String, IUserPoolIdentityProviderAmazonProps)
public UserPoolIdentityProviderAmazon(Construct scope, string id, IUserPoolIdentityProviderAmazonProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IUserPoolIdentityProviderAmazonProps
Properties
ProviderName
The primary identifier of this identity provider.
public virtual string ProviderName { get; }
Property Value
System.String
Methods
ConfigureAttributeMapping()
protected virtual object ConfigureAttributeMapping()
Returns
System.Object
Implements
Constructs.IConstruct