interface HttpRouteAuthorizerBindOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Apigatewayv2.HttpRouteAuthorizerBindOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#HttpRouteAuthorizerBindOptions |
Java | software.amazon.awscdk.services.apigatewayv2.HttpRouteAuthorizerBindOptions |
Python | aws_cdk.aws_apigatewayv2.HttpRouteAuthorizerBindOptions |
TypeScript (source) | aws-cdk-lib » aws_apigatewayv2 » HttpRouteAuthorizerBindOptions |
Input to the bind() operation, that binds an authorizer to a route.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
import * as constructs from 'constructs';
declare const construct: constructs.Construct;
declare const httpRoute: apigatewayv2.HttpRoute;
const httpRouteAuthorizerBindOptions: apigatewayv2.HttpRouteAuthorizerBindOptions = {
route: httpRoute,
scope: construct,
};
Properties
Name | Type | Description |
---|---|---|
route | IHttp | The route to which the authorizer is being bound. |
scope | Construct | The scope for any constructs created as part of the bind. |
route
Type:
IHttp
The route to which the authorizer is being bound.
scope
Type:
Construct
The scope for any constructs created as part of the bind.