```php
$container->loadFromExtension('swiftmailer', array(
    'transport'  => 'smtp',
    'host'       => 'email-smtp.us-east-1.amazonaws.com',
    'port'       => 465,
    'encryption' => 'tls',
    'username'   => 'AWS_ACCESS_KEY',
    'password'   => 'AWS_SECRET_KEY',
));
```