AWS Simple Email Service
Send email from verified domains using Amazon Simple Email Service (SES). Supports SMTP and the SES HTTP API.
- Documentation
- Support
- Catalog Metadata ID:
260f2ead-b9e9-48b5-9a01-6e3097208ad7 - Tags: aws, csb
- Service Name:
aws-ses - Provider Display Name :
Cloud.gov
Provisioning
Request Parameters
domainstring - Domain from which mail will be sent. For example,agency.gov. If left empty, a temporary cloud.gov subdomain will be generated. Default: ``.admin_emailstring - Required An administrative email address that Cloud.gov will use to contact you if your identity is at risk of having its ability to send emails paused. For example,email-admin@agency.gov. See Cloud.gov AWS SES - Reputation Protection for details. By default, this address will also be used as the DMARC report and error email address. If you provide alternate DMARC addresses by setting thedmarc_report_aggregate_recipientsanddmarc_report_failure_recipientsparameters, those will be used instead. If you update this parameter and neitherdmarc_report_uriparameter is specified, remember to update your DNS with the new records in therequired_recordsoutput.dmarc_report_aggregate_recipientsarray - The email addresses to which DMARC aggregate reports should be sent. Reports are automatically sent toreports@dmarc.cyber.dhs.gov. If you specify a domain and later update this parameter, remember to update your DNS with the new records in therequired_recordsoutput. If you do not provide this input,admin_emailwill be used instead. Default:[].dmarc_report_failure_recipientsarray - The email addresses to which DMARC individual message failure reports should be sent. If you specify a domain and later update this parameter, remember to update your DNS with the new records in therequired_recordsoutput. If you do not provide this input,admin_emailwill be used instead. Default:[].enable_feedback_notificationsboolean - Flag to toggle creation of SNS topics for feedback notifications. Default:false.mail_from_subdomainstring - The custom MAIL FROM domain that you want the verified identity to use. See the SES v2 API reference for requirements. Default: ``.
Binding
Request Parameters
source_ipsarray - A list of IP ranges in CIDR format. If specified, requests made with this binding must originate from the specified ranges. By default, all requests are allowed. Default:[].notification_webhookstring - HTTPS endpoint to subscribe to feedback notifications.
Response Parameters
regionstring - AWS region of the SES identity.required_recordsobject - If a domain was supplied, you must create these records in that zone in your DNS system.instructionsstring - Any further steps that you must take before using the service.configuration_set_arnstring - ARN of the SES Configuration Set associated with the identity. Used to create bindings.domainstring - The domain from which mail can be sent. Matches thedomainparameter if provided. Ifdomainwas left empty, a temporary cloud.gov subdomain is provided instead.domain_arnstring - DEPRECATED. Will be removed in a future release. Use identity_arn instead.identity_arnstring - ARN of the SES identity created for this domain. Used to create bindings.reputation_topic_arnstring - ARN of the SNS topic receiving alarms related to reputation metrics.bounce_topic_arnstring - ARN of the SNS topic receiving bounce feedback notifications.complaint_topic_arnstring - ARN of the SNS topic receiving complaint feedback notifications.delivery_topic_arnstring - ARN of the SNS topic receiving delivery feedback notifications.smtp_serverstring - SMTP server.smtp_userstring - SMTP user.smtp_passwordstring - SMTP password.aws_access_key_idstring - AWS Access Key ID.aws_secret_access_keystring - AWS Secret Access Key.notification_webhookstring - Subscribed endpoint for email feedback notifications
Plans
The following plans are built-in to the Cloud Service Broker and may be overridden or disabled by the broker administrator.
domain- Plan ID:
35ffb84b-a898-442e-b5f9-0a6a5229827d. - Description: Provision credentials for sending email from any user at a domain, like
agency.gov. - This plan doesn't override user variables on provision.
- This plan doesn't override user variables on bind.
- Plan ID:
Examples
Quickstart
Omit the domain parameter and Cloud.gov will generate a domain for you. This is useful for development and testing.
Uses plan: 35ffb84b-a898-442e-b5f9-0a6a5229827d.
Provision
{
"admin_email": "email-admin@agency.gov"
}
Bind
{}
Cloud Foundry Example
$ cf create-service aws-ses domain my-aws-ses-example -c `{"admin_email":"email-admin@agency.gov"}`
$ cf bind-service my-app my-aws-ses-example -c `{}`
Separate DMARC recipients
Manually specify the dmarc_report_uri parameters and DMARC reports will be sent to their URIs instead of admin_email.
Uses plan: 35ffb84b-a898-442e-b5f9-0a6a5229827d.
Provision
{
"admin_email": "email-admin@agency.gov",
"dmarc_report_aggregate_recipients": [
"dmarc@agency.gov"
],
"dmarc_report_failure_recipients": [
"dmarc@agency.gov",
"another-address@agency.gov"
]
}
Bind
{}
Cloud Foundry Example
$ cf create-service aws-ses domain my-aws-ses-example -c `{"admin_email":"email-admin@agency.gov","dmarc_report_aggregate_recipients":["dmarc@agency.gov"],"dmarc_report_failure_recipients":["dmarc@agency.gov","another-address@agency.gov"]}`
$ cf bind-service my-app my-aws-ses-example -c `{}`
External domain
Specify the domain parameter to send mail from an agency-managed domain. Binding or creating a service key will show instructions for creating the required DNS records.
Uses plan: 35ffb84b-a898-442e-b5f9-0a6a5229827d.
Provision
{
"admin_email": "email-admin@agency.gov",
"domain": "agency.gov"
}
Bind
{}
Cloud Foundry Example
$ cf create-service aws-ses domain my-aws-ses-example -c `{"admin_email":"email-admin@agency.gov","domain":"agency.gov"}`
$ cf bind-service my-app my-aws-ses-example -c `{}`