Show / Hide Table of Contents

Class CfnAuthorizer.JWTConfigurationProperty

The JWTConfiguration property specifies the configuration of a JWT authorizer.

Inheritance
System.Object
CfnAuthorizer.JWTConfigurationProperty
Implements
CfnAuthorizer.IJWTConfigurationProperty
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class JWTConfigurationProperty : Object, CfnAuthorizer.IJWTConfigurationProperty
Syntax (vb)
Public Class JWTConfigurationProperty
    Inherits Object
    Implements CfnAuthorizer.IJWTConfigurationProperty
Remarks

Required for the JWT authorizer type. Supported only for HTTP APIs.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-authorizer-jwtconfiguration.html

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 jWTConfigurationProperty = new JWTConfigurationProperty {
    Audience = new [] { "audience" },
    Issuer = "issuer"
};

Synopsis

Constructors

JWTConfigurationProperty()

Properties

Audience

A list of the intended recipients of the JWT.

Issuer

The base domain of the identity provider that issues JSON Web Tokens.

Constructors

JWTConfigurationProperty()

public JWTConfigurationProperty()

Properties

Audience

A list of the intended recipients of the JWT.

public string[] Audience { get; set; }
Property Value

System.String[]

Remarks

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-authorizer-jwtconfiguration.html#cfn-apigatewayv2-authorizer-jwtconfiguration-audience

Issuer

The base domain of the identity provider that issues JSON Web Tokens.

public string Issuer { get; set; }
Property Value

System.String

Remarks

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-authorizer-jwtconfiguration.html#cfn-apigatewayv2-authorizer-jwtconfiguration-issuer

Implements

CfnAuthorizer.IJWTConfigurationProperty
Back to top Generated by DocFX