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

.NET
Go
Java
Python
TypeScript