interface HttpApiAuthProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SAM.CfnHttpApi.HttpApiAuthProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnHttpApi_HttpApiAuthProperty |
Java | software.amazon.awscdk.services.sam.CfnHttpApi.HttpApiAuthProperty |
Python | aws_cdk.aws_sam.CfnHttpApi.HttpApiAuthProperty |
TypeScript | aws-cdk-lib » 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 { aws_sam as sam } from 'aws-cdk-lib';
declare const authorizers: any;
const httpApiAuthProperty: sam.CfnHttpApi.HttpApiAuthProperty = {
authorizers: authorizers,
defaultAuthorizer: 'defaultAuthorizer',
};
Properties
| Name | Type | Description |
|---|---|---|
| authorizers? | any | |
| default | string |
authorizers?
Type:
any
(optional)
defaultAuthorizer?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript