Represents a successful verification of an SES domain identity.
Most commonly, this resource is used together with aws_route53_record
and
aws_ses_domain_identity
to request an SES domain identity,
deploy the required DNS verification records, and wait for verification to complete.
resource "aws_ses_domain_identity" "example" {
domain = "example.com"
}
resource "aws_route53_record" "example_amazonses_verification_record" {
zone_id = aws_route53_zone.example.zone_id
name = "_amazonses.${aws_ses_domain_identity.example.id}"
type = "TXT"
ttl = "600"
records = [aws_ses_domain_identity.example.verification_token]
}
resource "aws_ses_domain_identity_verification" "example_verification" {
domain = aws_ses_domain_identity.example.id
depends_on = [aws_route53_record.example_amazonses_verification_record]
}
This resource supports the following arguments:
domain
- (Required) The domain name of the SES domain identity to verify.This resource exports the following attributes in addition to the arguments above:
id
- The domain name of the domain identity.arn
- The ARN of the domain identity.create
- (Default 45m
)