Class UserPoolIdentityProviderGoogle
Represents an identity provider that integrates with Google.
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UserPoolIdentityProviderGoogle : Resource, IUserPoolIdentityProvider, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class UserPoolIdentityProviderGoogle Inherits Resource Implements IUserPoolIdentityProvider, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: infused
Examples
var userpool = new UserPool(this, "Pool");
var secret = Secret.FromSecretAttributes(this, "CognitoClientSecret", new SecretAttributes {
SecretCompleteArn = "arn:aws:secretsmanager:xxx:xxx:secret:xxx-xxx"
}).SecretValue;
var provider = new UserPoolIdentityProviderGoogle(this, "Google", new UserPoolIdentityProviderGoogleProps {
ClientId = "amzn-client-id",
ClientSecretValue = secret,
UserPool = userpool
});
Synopsis
Constructors
| UserPoolIdentityProviderGoogle(Construct, string, IUserPoolIdentityProviderGoogleProps) | Represents an identity provider that integrates with Google. |
Properties
| PROPERTY_INJECTION_ID | Uniquely identifies this class. |
| ProviderName | The primary identifier of this identity provider. |
Methods
| ConfigureAttributeMapping() | Represents an identity provider that integrates with Google. |
Constructors
UserPoolIdentityProviderGoogle(Construct, string, IUserPoolIdentityProviderGoogleProps)
Represents an identity provider that integrates with Google.
public UserPoolIdentityProviderGoogle(Construct scope, string id, IUserPoolIdentityProviderGoogleProps props)
Parameters
- scope Construct
- id string
- props IUserPoolIdentityProviderGoogleProps
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: infused
Examples
var userpool = new UserPool(this, "Pool");
var secret = Secret.FromSecretAttributes(this, "CognitoClientSecret", new SecretAttributes {
SecretCompleteArn = "arn:aws:secretsmanager:xxx:xxx:secret:xxx-xxx"
}).SecretValue;
var provider = new UserPoolIdentityProviderGoogle(this, "Google", new UserPoolIdentityProviderGoogleProps {
ClientId = "amzn-client-id",
ClientSecretValue = secret,
UserPool = userpool
});
Properties
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: infused
ProviderName
The primary identifier of this identity provider.
public virtual string ProviderName { get; }
Property Value
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: infused
Methods
ConfigureAttributeMapping()
Represents an identity provider that integrates with Google.
protected virtual object ConfigureAttributeMapping()
Returns
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: infused
Examples
var userpool = new UserPool(this, "Pool");
var secret = Secret.FromSecretAttributes(this, "CognitoClientSecret", new SecretAttributes {
SecretCompleteArn = "arn:aws:secretsmanager:xxx:xxx:secret:xxx-xxx"
}).SecretValue;
var provider = new UserPoolIdentityProviderGoogle(this, "Google", new UserPoolIdentityProviderGoogleProps {
ClientId = "amzn-client-id",
ClientSecretValue = secret,
UserPool = userpool
});