AWS Simple Email Service

Send email from verified domains using Amazon Simple Email Service (SES). Supports SMTP and the SES HTTP API.

Provisioning

Request Parameters

Binding

Request Parameters

Response Parameters

Plans

The following plans are built-in to the Cloud Service Broker and may be overridden or disabled by the broker administrator.

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 base 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 base 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 a 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 base my-aws-ses-example -c `{"admin_email":"email-admin@agency.gov","domain":"agency.gov"}`
$ cf bind-service my-app my-aws-ses-example -c `{}`