Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Amazon Web Services

Security covered Under active development 1,208 sites

Part of the AWS ecosystem · 6 projects

This module provides a unified system for managing AWS credentials within Drupal. It allows developers to configure and use different AWS profiles for various services, mirroring the functionality of the AWS CLI.

AWS is a module targeted towards module developers that provides a unified AWS profile management system. Profiles follow the same conventions as their CLI counterparts and serve the same purpose.

By default, when you load an AWS service it will initialize using the default profile for that service (configured at /admin/config/services/aws). You can initialize a service with a different profile by using the setProfile() method on the client factory instance.

/** @var \Drupal\aws\Entity\ProfileInterface $profile */
$profile = \Drupal::entityTypeManager()->getStorage('aws_profile')->load('alternate_profile');

/** @var \Drupal\aws\AwsClientFactoryInterface $client_factory */
$client_factory = \Drupal::service('aws.client_factory');

/** @var \Aws\S3\S3Client $default_s3 */
$default_s3 = $client_factory->getClient('s3');

/** @var \Aws\S3\S3Client $alternate_s3 */
$alternate_s3 = $client_factory->setProfile($profile)->getClient('s3');

Services

All services supported by the AWS SDK for PHP are supported by this module. For a complete list, see https://docs.aws.amazon.com/aws-sdk-php/v3/api/.

Drupal 9–11

Ask your assistant about Amazon Web Services

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.4 Stable 9–11 Sep 4, 2024