interface FunctionUrlConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SAM.CfnFunction.FunctionUrlConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_FunctionUrlConfigProperty |
Java | software.amazon.awscdk.services.sam.CfnFunction.FunctionUrlConfigProperty |
Python | aws_cdk.aws_sam.CfnFunction.FunctionUrlConfigProperty |
TypeScript | aws-cdk-lib » aws_sam » CfnFunction » FunctionUrlConfigProperty |
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 functionUrlConfigProperty: sam.CfnFunction.FunctionUrlConfigProperty = {
authType: 'authType',
// the properties below are optional
cors: 'cors',
invokeMode: 'invokeMode',
};
Properties
Name | Type | Description |
---|---|---|
auth | string | |
cors? | string | IResolvable | Cors | |
invoke | string |
authType
Type:
string
cors?
Type:
string |
IResolvable
|
Cors
(optional)
invokeMode?
Type:
string
(optional)