@aws-cdk_aws-apigatewayv2-alpha.HttpRouteAuthorizerBindOptions
interface HttpRouteAuthorizerBindOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Alpha.HttpRouteAuthorizerBindOptions |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#HttpRouteAuthorizerBindOptions |
![]() | software.amazon.awscdk.services.apigatewayv2.alpha.HttpRouteAuthorizerBindOptions |
![]() | aws_cdk.aws_apigatewayv2_alpha.HttpRouteAuthorizerBindOptions |
![]() | @aws-cdk/aws-apigatewayv2-alpha ยป 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 * as apigatewayv2_alpha from '@aws-cdk/aws-apigatewayv2-alpha';
import * as constructs from 'constructs';
declare const construct: constructs.Construct;
declare const httpRoute: apigatewayv2_alpha.HttpRoute;
const httpRouteAuthorizerBindOptions: apigatewayv2_alpha.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.