Show / Hide Table of Contents

Class UserPoolIdentityProviderGoogle

Represents an identity provider that integrates with Google.

Inheritance
object
Resource
UserPoolIdentityProviderGoogle
Implements
IUserPoolIdentityProvider
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
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

string

Remarks

Resource: AWS::Cognito::UserPoolIdentityProvider

ExampleMetadata: infused

ProviderName

The primary identifier of this identity provider.

public virtual string ProviderName { get; }
Property Value

string

Remarks

Resource: AWS::Cognito::UserPoolIdentityProvider

ExampleMetadata: infused

Methods

ConfigureAttributeMapping()

Represents an identity provider that integrates with Google.

protected virtual object ConfigureAttributeMapping()
Returns

object

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
             });

Implements

IUserPoolIdentityProvider
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX