You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"aws_s3_bucket_notification""this" {
# bucket - (required) is a type of stringbucket=var.bucketdynamic"lambda_function" {
for_each=var.lambda_functioncontent {
# events - (required) is a type of set of stringevents=lambda_function.value["events"]
# filter_prefix - (optional) is a type of stringfilter_prefix=lambda_function.value["filter_prefix"]
# filter_suffix - (optional) is a type of stringfilter_suffix=lambda_function.value["filter_suffix"]
# id - (optional) is a type of stringid=lambda_function.value["id"]
# lambda_function_arn - (optional) is a type of stringlambda_function_arn=lambda_function.value["lambda_function_arn"]
}
}
dynamic"queue" {
for_each=var.queuecontent {
# events - (required) is a type of set of stringevents=queue.value["events"]
# filter_prefix - (optional) is a type of stringfilter_prefix=queue.value["filter_prefix"]
# filter_suffix - (optional) is a type of stringfilter_suffix=queue.value["filter_suffix"]
# id - (optional) is a type of stringid=queue.value["id"]
# queue_arn - (required) is a type of stringqueue_arn=queue.value["queue_arn"]
}
}
dynamic"topic" {
for_each=var.topiccontent {
# events - (required) is a type of set of stringevents=topic.value["events"]
# filter_prefix - (optional) is a type of stringfilter_prefix=topic.value["filter_prefix"]
# filter_suffix - (optional) is a type of stringfilter_suffix=topic.value["filter_suffix"]
# id - (optional) is a type of stringid=topic.value["id"]
# topic_arn - (required) is a type of stringtopic_arn=topic.value["topic_arn"]
}
}
}