interface HttpApiAuthProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SAM.CfnHttpApi.HttpApiAuthProperty |
Java | software.amazon.awscdk.services.sam.CfnHttpApi.HttpApiAuthProperty |
Python | aws_cdk.aws_sam.CfnHttpApi.HttpApiAuthProperty |
TypeScript | @aws-cdk/aws-sam » CfnHttpApi » HttpApiAuthProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sam from '@aws-cdk/aws-sam';
declare const authorizers: any;
const httpApiAuthProperty: sam.CfnHttpApi.HttpApiAuthProperty = {
authorizers: authorizers,
defaultAuthorizer: 'defaultAuthorizer',
};
Properties
| Name | Type | Description |
|---|---|---|
| authorizers? | any | CfnHttpApi.HttpApiAuthProperty.Authorizers. |
| default | string | CfnHttpApi.HttpApiAuthProperty.DefaultAuthorizer. |
authorizers?
Type:
any
(optional)
CfnHttpApi.HttpApiAuthProperty.Authorizers.
defaultAuthorizer?
Type:
string
(optional)
CfnHttpApi.HttpApiAuthProperty.DefaultAuthorizer.

.NET
Java
Python
TypeScript