SAM template for handling contact form submissions.
Email address to receive contact notifications.
- Type: String
List of form field names to require in addition to 'subject' and 'message', which are always required. The function will return a 400 error if any of these are missing.
- Type: CommaDelimitedList
- Default: email
List of honeypot form field names. These will cause the function to quietly abort.
- Type: CommaDelimitedList
- Default: ""
Passed directly to Access-Control-Allow-Origin header in the CORS configuration.
- Type: String
- Default: ""
If true, creates a new serverless API resource for the contact lambda function. If false, creates resources that can be served from an API in another template.
- Type: String
- Default: true
- AllowedValues:
- true
- false
Custom domain where the api is hosted. Used to create an API Gateway custom domain name for this deployment.
- Type: String
- Default: ""
Base path of the custom domain where the API will be hosted.
- Type: String
- Default: ""
Certificate Manager ARN for the ApiDomain certificate. If supplied with ApiDomain, will attempt to create a new custom domain using the two.
- Type: String
- Default: ""
If provided, creates a record set group connecting the custom domain to a Route53 zone.
- Type: String
- Default: ""
Can provide this as an alternative to HostedZoneId
- Type: String
- Default: ""
- Type: String
- AllowedValues:
- TRACE
- DEBUG
- INFO
- WARN
- ERROR
- FATAL
- Default: INFO
- Type: String
- AllowedValues:
- DEBUG
- INFO
- WARN
- Default: WARN
- Type: String
- AllowedValues:
- Text
- JSON
- Default: Text
- Type: AWS::CloudFormation::Stack
- Condition: CreateCustomDomain
- DependsOn: ContactApi
- Type: AWS::ApiGatewayV2::ApiMapping
- Condition: HasCustomDomain
- DependsOn: ContactApiProdStage
- Type: AWS::Serverless::Api
- Condition: CreateApi
- Type: AWS::Serverless::Function
- Metadata: [object Object]
- Type: AWS::SNS::Topic
API Gateway endpoint URL
- Condition: CreateApi
Custom domain API endpoint
- Condition: HasCustomDomain
API Gateway ID
- Condition: CreateApi
Root resource ID for API Gateway
- Condition: CreateApi
ARN for the contact lambda function.
ARN for the generated SNS topic.