-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
50 lines (41 loc) · 1.9 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
variable "name" {
type = string
description = "(Required) A name to identify the stream. This is unique to the AWS account and region the Stream is created in."
}
variable "shard_count" {
type = number
description = "(Required) The number of shards that the stream will use. Amazon has guidelines for specifying the Stream size that should be referenced when creating a Kinesis stream."
default = 1
}
variable "retention_period" {
type = number
description = "(Optional) Length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 168 hours. Minimum value is 24. Default is 24."
default = 24
}
variable "shard_level_metrics" {
type = list(string)
description = "(Optional) A list of shard-level CloudWatch metrics which can be enabled for the stream. See Monitoring with CloudWatch for more. Note that the value ALL should not be used; instead you should provide an explicit list of metrics you wish to enable."
default = [
]
}
variable "enforce_consumer_deletion" {
type = bool
description = "(Optional) A boolean that indicates all registered consumers should be deregistered from the stream so that the stream can be destroyed without error. The default value is false."
default = false
}
variable "encryption_type" {
type = string
description = " (Optional) The encryption type to use. The only acceptable values are NONE or KMS. The default value is NONE."
default = "KMS"
}
variable "kms_key_id" {
type = string
description = "(Optional) The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master key by specifying the alias alias/aws/kinesis."
default = null
}
variable "tags" {
type = map(string)
description = "(Optional) A map of tags to assign to the resource."
default = {
}
}