Show / Hide Table of Contents

Interface CfnListener.IAuthenticateCognitoConfigProperty

Specifies information required when integrating with Amazon Cognito to authenticate users.

Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface IAuthenticateCognitoConfigProperty
Syntax (vb)
Public Interface IAuthenticateCognitoConfigProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html

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.ElasticLoadBalancingV2;

var authenticateCognitoConfigProperty = new AuthenticateCognitoConfigProperty {
    UserPoolArn = "userPoolArn",
    UserPoolClientId = "userPoolClientId",
    UserPoolDomain = "userPoolDomain",

    // the properties below are optional
    AuthenticationRequestExtraParams = new Dictionary<string, string> {
        { "authenticationRequestExtraParamsKey", "authenticationRequestExtraParams" }
    },
    OnUnauthenticatedRequest = "onUnauthenticatedRequest",
    Scope = "scope",
    SessionCookieName = "sessionCookieName",
    SessionTimeout = "sessionTimeout"
};

Synopsis

Properties

AuthenticationRequestExtraParams

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

OnUnauthenticatedRequest

The behavior if the user is not authenticated. The following are possible values:.

Scope

The set of user claims to be requested from the IdP. The default is openid .

SessionCookieName

The name of the cookie used to maintain session information.

SessionTimeout

The maximum duration of the authentication session, in seconds.

UserPoolArn

The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

UserPoolClientId

The ID of the Amazon Cognito user pool client.

UserPoolDomain

The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.

Properties

AuthenticationRequestExtraParams

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

virtual object AuthenticationRequestExtraParams { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-authenticationrequestextraparams

OnUnauthenticatedRequest

The behavior if the user is not authenticated. The following are possible values:.

virtual string OnUnauthenticatedRequest { get; }
Property Value

System.String

Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-onunauthenticatedrequest

    Scope

    The set of user claims to be requested from the IdP. The default is openid .

    virtual string Scope { get; }
    Property Value

    System.String

    Remarks

    To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-scope

    SessionCookieName

    The name of the cookie used to maintain session information.

    virtual string SessionCookieName { get; }
    Property Value

    System.String

    Remarks

    The default is AWSELBAuthSessionCookie.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-sessioncookiename

    SessionTimeout

    The maximum duration of the authentication session, in seconds.

    virtual string SessionTimeout { get; }
    Property Value

    System.String

    Remarks

    The default is 604800 seconds (7 days).

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-sessiontimeout

    UserPoolArn

    The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

    string UserPoolArn { get; }
    Property Value

    System.String

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-userpoolarn

    UserPoolClientId

    The ID of the Amazon Cognito user pool client.

    string UserPoolClientId { get; }
    Property Value

    System.String

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-userpoolclientid

    UserPoolDomain

    The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.

    string UserPoolDomain { get; }
    Property Value

    System.String

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-userpooldomain

    Back to top Generated by DocFX