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.
virtual string[] AuthorizationScopes { get; }
Property Value
System.String[]
Remarks
Default: - no authorization scopes
AuthorizationType
The type of authorization.
string AuthorizationType { get; }
Property Value
System.String
Remarks
Possible values are:
AuthorizerId
The authorizer id.
virtual string AuthorizerId { get; }
Property Value
System.String
Remarks
Default: - No authorizer id (useful for AWS_IAM route authorizer)