AWS Amazon SES Active Receipt Rule Set

This page shows how to write Terraform for Amazon SES Active Receipt Rule Set and write them securely.

aws_ses_active_receipt_rule_set (Terraform)

The Active Receipt Rule Set in Amazon SES can be configured in Terraform with the resource name aws_ses_active_receipt_rule_set. The following sections describe 5 examples of how to use the resource and its parameters.

Example Usage from GitHub

github-iconalistairjordan/aws-auto-account
resource "aws_ses_active_receipt_rule_set" "main" {
  rule_set_name = "email-verification-rules"
}

# data "aws_iam_policy_document" "email_validation" {
#   statement {
github-iconniveklabs/aws
resource "aws_ses_active_receipt_rule_set" "this" {
  rule_set_name = var.rule_set_name
}

github-iconbyu-oit/terraform-aws-ses
resource "aws_ses_active_receipt_rule_set" "main" {
  rule_set_name = aws_ses_receipt_rule_set.default.rule_set_name
}

module "ses" {
  source         = "../../"
github-iconbyu-oit/terraform-aws-ses
resource "aws_ses_active_receipt_rule_set" "main" {
  rule_set_name = aws_ses_receipt_rule_set.default.rule_set_name
}

module "ses" {
  source         = "../../"
github-iconDavidWittman/serverless-southwest-check-in
resource "aws_ses_active_receipt_rule_set" "sw_check_in" {
  rule_set_name = "sw-check-in"
}

resource "aws_ses_receipt_rule" "feedback" {
  count = var.feedback_email == "" ? 0 : 1

Parameters

Explanation in Terraform Registry

Provides a resource to designate the active SES receipt rule set

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Amazon SES Active Receipt Rule Set?

AWS Amazon SES Active Receipt Rule Set is a resource for Amazon SES of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS Amazon SES Active Receipt Rule Set?

For Terraform, the alistairjordan/aws-auto-account, niveklabs/aws and byu-oit/terraform-aws-ses source code examples are useful. See the Terraform Example section for further details.

security-icon

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.