Show / Hide Table of Contents

Interface IHttpRouteAuthorizerConfig

Results of binding an authorizer to an http route.

Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpRouteAuthorizerConfig
Syntax (vb)
Public Interface IHttpRouteAuthorizerConfig
Remarks

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

            var httpRouteAuthorizerConfig = new HttpRouteAuthorizerConfig {
                AuthorizationType = "authorizationType",

                // the properties below are optional
                AuthorizationScopes = new [] { "authorizationScopes" },
                AuthorizerId = "authorizerId"
            };

Synopsis

Properties

AuthorizationScopes

The list of OIDC scopes to include in the authorization.

AuthorizationType

The type of authorization.

AuthorizerId

The authorizer id.

Properties

AuthorizationScopes

The list of OIDC scopes to include in the authorization.

string[]? AuthorizationScopes { get; }
Property Value

string[]

Remarks

Default: - no authorization scopes

AuthorizationType

The type of authorization.

string AuthorizationType { get; }
Property Value

string

Remarks

Possible values are:

    AuthorizerId

    The authorizer id.

    string? AuthorizerId { get; }
    Property Value

    string

    Remarks

    Default: - No authorizer id (useful for AWS_IAM route authorizer)

    Back to top Generated by DocFX