Class HttpAuthorizerAttributes
Reference to an http authorizer.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HttpAuthorizerAttributes : IHttpAuthorizerAttributes
Syntax (vb)
Public Class HttpAuthorizerAttributes Implements IHttpAuthorizerAttributes
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Apigatewayv2;
using Amazon.CDK;
var authorizerId = Fn.ImportValue("authorizerId");
var authorizerType = Fn.ImportValue("authorizerType");
var authorizer = HttpAuthorizer.FromHttpAuthorizerAttributes(this, "HttpAuthorizer", new HttpAuthorizerAttributes {
AuthorizerId = authorizerId,
AuthorizerType = authorizerType
});
Synopsis
Constructors
| HttpAuthorizerAttributes() | Reference to an http authorizer. |
Properties
| AuthorizerId | Id of the Authorizer. |
| AuthorizerType | Type of authorizer. |
Constructors
HttpAuthorizerAttributes()
Reference to an http authorizer.
public HttpAuthorizerAttributes()
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Apigatewayv2;
using Amazon.CDK;
var authorizerId = Fn.ImportValue("authorizerId");
var authorizerType = Fn.ImportValue("authorizerType");
var authorizer = HttpAuthorizer.FromHttpAuthorizerAttributes(this, "HttpAuthorizer", new HttpAuthorizerAttributes {
AuthorizerId = authorizerId,
AuthorizerType = authorizerType
});
Properties
AuthorizerId
Id of the Authorizer.
public string AuthorizerId { get; set; }
Property Value
Remarks
ExampleMetadata: infused
AuthorizerType
Type of authorizer.
public string AuthorizerType { get; set; }
Property Value
Remarks
Possible values are: