-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
73 lines (61 loc) · 1.69 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
########################
# apigw/variables.tf #
########################
# Required Variables
variable "apigw_name" {
description = "API Gateway name"
type = string
}
variable "certificate_arn" {
description = "arn for acm certificate"
type = string
}
variable "domain_name" {
description = "apigateway domain name"
type = string
}
variable "stage_name" {
description = "Apigateway stage name"
type = string
}
# Optional Variables
variable "binary_media_types" {
description = " List of binary media types supported by the REST API"
type = list(string)
default = null
}
variable "data_trace_enabled" {
description = "Whether data trace logging is enabled for this method"
type = bool
default = false
}
variable "logging_level" {
description = "Logging level for this method: 'OFF','ERROR', 'INFO'"
type = string
default = "INFO"
}
variable "metrics_enabled" {
description = "Whether Amazon CloudWatch metrics are enabled for this method"
type = bool
default = true
}
variable "retention_in_days" {
description = "The number of days to retain log events in the Access and Execution Log groups"
type = number
default = 30
}
variable "security_policy" {
description = "Transport Layer Security(TLS) version + cipher suite for this DomainName"
type = string
default = "TLS_1_2"
}
variable "throttling_burst_limit" {
description = "The number of requests your API can handle concurrently"
type = number
default = null
}
variable "throttling_rate_limit" {
description = "The number of allowed requests per second"
type = number
default = null
}