interface HttpApiFunctionAuthProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.SAM.CfnFunction.HttpApiFunctionAuthProperty | 
  Java | software.amazon.awscdk.services.sam.CfnFunction.HttpApiFunctionAuthProperty | 
  Python | aws_cdk.aws_sam.CfnFunction.HttpApiFunctionAuthProperty | 
  TypeScript  | @aws-cdk/aws-sam » CfnFunction » HttpApiFunctionAuthProperty | 
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';
const httpApiFunctionAuthProperty: sam.CfnFunction.HttpApiFunctionAuthProperty = {
  authorizationScopes: ['authorizationScopes'],
  authorizer: 'authorizer',
};
Properties
| Name | Type | Description | 
|---|---|---|
| authorization | string[] | CfnFunction.HttpApiFunctionAuthProperty.AuthorizationScopes. | 
| authorizer? | string | CfnFunction.HttpApiFunctionAuthProperty.Authorizer. | 
authorizationScopes?
Type:
string[]
(optional)
CfnFunction.HttpApiFunctionAuthProperty.AuthorizationScopes.
authorizer?
Type:
string
(optional)
CfnFunction.HttpApiFunctionAuthProperty.Authorizer.

 .NET
 Java
 Python
 TypeScript