interface AuthorizerReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.APIGateway.AuthorizerReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsapigateway#AuthorizerReference |
Java | software.amazon.awscdk.interfaces.apigateway.AuthorizerReference |
Python | aws_cdk.interfaces.aws_apigateway.AuthorizerReference |
TypeScript | aws-cdk-lib » interfaces » aws_apigateway » AuthorizerReference |
A reference to a Authorizer resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as interfaces_aws_apigateway } from 'aws-cdk-lib/interfaces';
const authorizerReference: interfaces_aws_apigateway.AuthorizerReference = {
authorizerId: 'authorizerId',
restApiId: 'restApiId',
};
Properties
| Name | Type | Description |
|---|---|---|
| authorizer | string | The AuthorizerId of the Authorizer resource. |
| rest | string | The RestApiId of the Authorizer resource. |
authorizerId
Type:
string
The AuthorizerId of the Authorizer resource.
restApiId
Type:
string
The RestApiId of the Authorizer resource.

.NET
Go
Java
Python
TypeScript