The AWS SDK for PHP provides a library, code samples, and documentation for developers to build PHP applications that tap into the cost-effective, scalable, and reliable AWS cloud.
With the AWS SDK for PHP, developers get started in minutes using AWS infrastructure services, including Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud (Amazon EC2), Amazon SimpleDB, and more.
The AWSSDK can be configured by using Drupal variables with the same names as the constants found in config-sample.inc.php. For example, the following can be placed in a site's
settings.php file or configured through the awssdk_ui module.
$conf['aws_key'] = '...'; $conf['aws_secret'] = '...'; $conf['aws_account_id'] = '...'; $conf['aws_canonical_id'] = '...';
To include the
sdk.class.php file, as is the only file required, simply execute the following (please see the libraries project for more details).
For 5.x release please see http://drupal.org/node/1396596 .
Since Drupal.org does not allow for three-part version numbers this project follows the AWS SDK for PHP 1.x development line and the release version mapping is as follows. The mapping shows the Drupal release to the Amazon release. Please ensure you are using a Drupal module and Amazon SDK pair that match the version number mapping. For example, use the 4.1 Drupal module with the 1.4.1 Amazon SDK.
- 5.x -> (see http://drupal.org/node/1396596)
- 4.x -> 1.4.x
- 3.x -> 1.3.x
- 2.x -> 1.2.x