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