interface CfnAuthorizerV2Props
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnAuthorizerV2Props |
Java | software.amazon.awscdk.services.apigateway.CfnAuthorizerV2Props |
Python | aws_cdk.aws_apigateway.CfnAuthorizerV2Props |
TypeScript (source) | @aws-cdk/aws-apigateway » CfnAuthorizerV2Props |
⚠️ Deprecated: moved to package aws-apigatewayv2
Properties for defining a AWS::ApiGatewayV2::Authorizer
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigateway from '@aws-cdk/aws-apigateway';
const cfnAuthorizerV2Props: apigateway.CfnAuthorizerV2Props = {
apiId: 'apiId',
authorizerType: 'authorizerType',
identitySource: ['identitySource'],
name: 'name',
// the properties below are optional
authorizerCredentialsArn: 'authorizerCredentialsArn',
authorizerResultTtlInSeconds: 123,
authorizerUri: 'authorizerUri',
identityValidationExpression: 'identityValidationExpression',
jwtConfiguration: {
audience: ['audience'],
issuer: 'issuer',
},
};
Properties
Name | Type | Description |
---|---|---|
api | string | AWS::ApiGatewayV2::Authorizer.ApiId . |
authorizer | string | AWS::ApiGatewayV2::Authorizer.AuthorizerType . |
identity | string[] | AWS::ApiGatewayV2::Authorizer.IdentitySource . |
name | string | AWS::ApiGatewayV2::Authorizer.Name . |
authorizer | string | AWS::ApiGatewayV2::Authorizer.AuthorizerCredentialsArn . |
authorizer | number | AWS::ApiGatewayV2::Authorizer.AuthorizerResultTtlInSeconds . |
authorizer | string | AWS::ApiGatewayV2::Authorizer.AuthorizerUri . |
identity | string | AWS::ApiGatewayV2::Authorizer.IdentityValidationExpression . |
jwt | IResolvable | JWTConfiguration | AWS::ApiGatewayV2::Authorizer.JwtConfiguration . |
apiId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Authorizer.ApiId
.
authorizerType
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Authorizer.AuthorizerType
.
identitySource
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string[]
AWS::ApiGatewayV2::Authorizer.IdentitySource
.
name
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Authorizer.Name
.
authorizerCredentialsArn?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Authorizer.AuthorizerCredentialsArn
.
authorizerResultTtlInSeconds?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
number
(optional)
AWS::ApiGatewayV2::Authorizer.AuthorizerResultTtlInSeconds
.
authorizerUri?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Authorizer.AuthorizerUri
.
identityValidationExpression?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Authorizer.IdentityValidationExpression
.
jwtConfiguration?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
IResolvable
|
JWTConfiguration
(optional)
AWS::ApiGatewayV2::Authorizer.JwtConfiguration
.