interface JWTConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApiGatewayV2.Mixins.CfnAuthorizerPropsMixin.JWTConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapigatewayv2/mixins#CfnAuthorizerPropsMixin_JWTConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.apigatewayv2.mixins.CfnAuthorizerPropsMixin.JWTConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_apigatewayv2.mixins.CfnAuthorizerPropsMixin.JWTConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_apigatewayv2 » mixins » CfnAuthorizerPropsMixin » JWTConfigurationProperty |
The JWTConfiguration property specifies the configuration of a JWT authorizer.
Required for the JWT authorizer type. Supported only for HTTP APIs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as apigatewayv2_mixins } from '@aws-cdk/mixins-preview/aws-apigatewayv2';
const jWTConfigurationProperty: apigatewayv2_mixins.CfnAuthorizerPropsMixin.JWTConfigurationProperty = {
audience: ['audience'],
issuer: 'issuer',
};
Properties
| Name | Type | Description |
|---|---|---|
| audience? | string[] | A list of the intended recipients of the JWT. |
| issuer? | string | The base domain of the identity provider that issues JSON Web Tokens. |
audience?
Type:
string[]
(optional)
A list of the intended recipients of the JWT.
A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519 . Required for the JWT authorizer type. Supported only for HTTP APIs.
issuer?
Type:
string
(optional)
The base domain of the identity provider that issues JSON Web Tokens.
For example, an Amazon Cognito user pool has the following format: https://cognito-idp. {region} .amazonaws.com/ {userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.

.NET
Go
Java
Python
TypeScript