github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/aws/r/ses_domain_identity.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: ses_domain_identity" 4 sidebar_current: "docs-aws-resource-ses-domain-identity" 5 description: |- 6 Provides an SES domain identity resource 7 --- 8 9 # aws\_ses\_domain_identity 10 11 Provides an SES domain identity resource 12 13 ## Argument Reference 14 15 The following arguments are supported: 16 17 * `domain` - (Required) The domain name to assign to SES 18 19 ## Attributes Reference 20 21 The following attributes are exported: 22 23 * `arn` - The ARN of the domain identity. 24 25 * `verification_token` - A code which when added to the domain as a TXT record 26 will signal to SES that the owner of the domain has authorised SES to act on 27 their behalf. The domain identity will be in state "verification pending" 28 until this is done. See below for an example of how this might be achieved 29 when the domain is hosted in Route 53 and managed by Terraform. Find out 30 more about verifying domains in Amazon SES in the [AWS SES 31 docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html). 32 33 ## Example Usage 34 35 ```hcl 36 resource "aws_ses_domain_identity" "example" { 37 domain = "example.com" 38 } 39 40 resource "aws_route53_record" "example_amazonses_verification_record" { 41 zone_id = "ABCDEFGHIJ123" 42 name = "_amazonses.example.com" 43 type = "TXT" 44 ttl = "600" 45 records = ["${aws_ses_domain_identity.example.verification_token}"] 46 } 47 ``` 48