AwsLambdaFunctionUrlArgs

interface AwsLambdaFunctionUrlArgs { authorizationType: Input<string>; cors?: AwsLambdaFunctionUrlCorsArgs; invokeMode?: Input<string>; qualifier?: Input<string>; }

Optional Lambda Function URL configuration for the Lambda function capability.

Remarks

When authorizationType is NONE, AWS automatically adds public invoke permissions to the function. AWS does not remove these permissions when the Function URL resource is destroyed.

Example

CODE
const functionUrl: AwsLambdaFunctionUrlArgs = {
  authorizationType: 'AWS_IAM',
  invokeMode: 'RESPONSE_STREAM',
};

Properties

authorizationType: Input<string>

Type of authentication used by the Function URL. Valid values are AWS_IAM and NONE.

cors: AwsLambdaFunctionUrlCorsArgs

Optional CORS settings for browser requests.

invokeMode: Input<string>

Optional invoke mode. Valid values are BUFFERED and RESPONSE_STREAM.

qualifier: Input<string>

Optional function alias name or $LATEST.