Skip to content
v2.275.0

FunctionUrlConfigProperty Struct ​

Example ​

ts
// 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 ​

authTypestringauth_typestrauthTypeStringAuthTypestringAuthType*stringrequired#
corsoptionalstring | IResolvable | CfnFunction.CorsConfigurationPropertycorsoptionaltyping.Union[str, IResolvable, CorsConfigurationProperty]corsoptionalStringCorsoptionalstringCorsoptionalinterface{}#
invokeModeoptionalstringinvoke_modeoptionalstrinvokeModeoptionalStringInvokeModeoptionalstringInvokeModeoptional*string#