Skip to content

Latest commit

 

History

History
101 lines (78 loc) · 1.83 KB

aws_ses_identity_notification_topic.md

File metadata and controls

101 lines (78 loc) · 1.83 KB

aws_ses_identity_notification_topic

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

module "aws_ses_identity_notification_topic" {
  source = "./modules/aws/r/aws_ses_identity_notification_topic"

  # identity - (required) is a type of string
  identity = null
  # include_original_headers - (optional) is a type of bool
  include_original_headers = null
  # notification_type - (required) is a type of string
  notification_type = null
  # topic_arn - (optional) is a type of string
  topic_arn = null
}

top

Variables

variable "identity" {
  description = "(required)"
  type        = string
}

variable "include_original_headers" {
  description = "(optional)"
  type        = bool
  default     = null
}

variable "notification_type" {
  description = "(required)"
  type        = string
}

variable "topic_arn" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Resource

resource "aws_ses_identity_notification_topic" "this" {
  # identity - (required) is a type of string
  identity = var.identity
  # include_original_headers - (optional) is a type of bool
  include_original_headers = var.include_original_headers
  # notification_type - (required) is a type of string
  notification_type = var.notification_type
  # topic_arn - (optional) is a type of string
  topic_arn = var.topic_arn
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = aws_ses_identity_notification_topic.this.id
}

output "this" {
  value = aws_ses_identity_notification_topic.this
}

top