Show / Hide Table of Contents

Class CfnListenerRule.AuthenticateOidcConfigProperty

Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.

Inheritance
System.Object
CfnListenerRule.AuthenticateOidcConfigProperty
Implements
CfnListenerRule.IAuthenticateOidcConfigProperty
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class AuthenticateOidcConfigProperty : Object, CfnListenerRule.IAuthenticateOidcConfigProperty
Syntax (vb)
Public Class AuthenticateOidcConfigProperty
    Inherits Object
    Implements CfnListenerRule.IAuthenticateOidcConfigProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.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 authenticateOidcConfigProperty = new AuthenticateOidcConfigProperty {
    AuthorizationEndpoint = "authorizationEndpoint",
    ClientId = "clientId",
    Issuer = "issuer",
    TokenEndpoint = "tokenEndpoint",
    UserInfoEndpoint = "userInfoEndpoint",

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

Synopsis

Constructors

AuthenticateOidcConfigProperty()

Properties

AuthenticationRequestExtraParams

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

AuthorizationEndpoint

The authorization endpoint of the IdP.

ClientId

The OAuth 2.0 client identifier.

ClientSecret

The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecret to true.

Issuer

The OIDC issuer identifier of the IdP.

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.

TokenEndpoint

The token endpoint of the IdP.

UseExistingClientSecret

Indicates whether to use the existing client secret when modifying a rule.

UserInfoEndpoint

The user info endpoint of the IdP.

Constructors

AuthenticateOidcConfigProperty()

public AuthenticateOidcConfigProperty()

Properties

AuthenticationRequestExtraParams

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

public object AuthenticationRequestExtraParams { get; set; }
Property Value

System.Object

Remarks

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

AuthorizationEndpoint

The authorization endpoint of the IdP.

public string AuthorizationEndpoint { get; set; }
Property Value

System.String

Remarks

This must be a full URL, including the HTTPS protocol, the domain, and the path.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-authorizationendpoint

ClientId

The OAuth 2.0 client identifier.

public string ClientId { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-clientid

ClientSecret

The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecret to true.

public string ClientSecret { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-clientsecret

Issuer

The OIDC issuer identifier of the IdP.

public string Issuer { get; set; }
Property Value

System.String

Remarks

This must be a full URL, including the HTTPS protocol, the domain, and the path.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-issuer

OnUnauthenticatedRequest

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

public string OnUnauthenticatedRequest { get; set; }
Property Value

System.String

Remarks

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

    Scope

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

    public string Scope { get; set; }
    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-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-scope

    SessionCookieName

    The name of the cookie used to maintain session information.

    public string SessionCookieName { get; set; }
    Property Value

    System.String

    Remarks

    The default is AWSELBAuthSessionCookie.

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

    SessionTimeout

    The maximum duration of the authentication session, in seconds.

    public Nullable<double> SessionTimeout { get; set; }
    Property Value

    System.Nullable<System.Double>

    Remarks

    The default is 604800 seconds (7 days).

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

    TokenEndpoint

    The token endpoint of the IdP.

    public string TokenEndpoint { get; set; }
    Property Value

    System.String

    Remarks

    This must be a full URL, including the HTTPS protocol, the domain, and the path.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-tokenendpoint

    UseExistingClientSecret

    Indicates whether to use the existing client secret when modifying a rule.

    public object UseExistingClientSecret { get; set; }
    Property Value

    System.Object

    Remarks

    If you are creating a rule, you can omit this parameter or set it to false.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-useexistingclientsecret

    UserInfoEndpoint

    The user info endpoint of the IdP.

    public string UserInfoEndpoint { get; set; }
    Property Value

    System.String

    Remarks

    This must be a full URL, including the HTTPS protocol, the domain, and the path.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-userinfoendpoint

    Implements

    CfnListenerRule.IAuthenticateOidcConfigProperty
    Back to top Generated by DocFX