aws-cdk-lib.aws_sam.CfnHttpApi.HttpApiAuthProperty

interface HttpApiAuthProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnHttpApi.HttpApiAuthProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnHttpApi_HttpApiAuthProperty
Javasoftware.amazon.awscdk.services.sam.CfnHttpApi.HttpApiAuthProperty
Pythonaws_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

NameTypeDescription
authorizers?anyCfnHttpApi.HttpApiAuthProperty.Authorizers.
defaultAuthorizer?stringCfnHttpApi.HttpApiAuthProperty.DefaultAuthorizer.

authorizers?

Type: any (optional)

CfnHttpApi.HttpApiAuthProperty.Authorizers.


defaultAuthorizer?

Type: string (optional)

CfnHttpApi.HttpApiAuthProperty.DefaultAuthorizer.