AWS Amazon SES Domain Dkim
This page shows how to write Terraform for Amazon SES Domain Dkim and write them securely.
aws_ses_domain_dkim (Terraform)
The Domain Dkim in Amazon SES can be configured in Terraform with the resource name aws_ses_domain_dkim
. The following sections describe 4 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_ses_domain_dkim" "aegames_org" {
domain = aws_ses_domain_identity.aegames_org.domain
}
resource "aws_ses_domain_identity" "concentral_net" {
domain = "concentral.net"
resource "aws_ses_domain_dkim" "this" {
domain = var.domain
}
resource "aws_iam_role_policy_attachment" "instance-SES-full-access" {
role = var.instance_role_name
resource "aws_ses_domain_dkim" "this" {
domain = var.domain
}
resource "aws_ses_domain_dkim" "dkim" {
domain = aws_ses_domain_identity.domain.domain
}
Parameters
-
dkim_tokens
optional computed - list of string -
domain
required - string -
id
optional computed - string
Explanation in Terraform Registry
Provides an SES domain DKIM generation resource. Domain ownership needs to be confirmed first using ses_domain_identity Resource
CloudFormation Example
CloudFormation code does not have the related resource.
Frequently asked questions
What is AWS Amazon SES Domain Dkim?
AWS Amazon SES Domain Dkim 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 Domain Dkim?
For Terraform, the neinteractiveliterature/neil-terraform, gutogalego/reddit-demo-django and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.