valantic-spryker-eco / aws-sqs
Container for AWS SDK SQS operations
1.0.0
2023-08-01 14:48 UTC
Requires
- php: >=7.4
- aws/aws-sdk-php: ^3.205
- spryker/kernel: ^3.56.0
- spryker/log: ^3.7.0
- spryker/symfony: ^3.5.0
- spryker/transfer: ^3.25.0
Requires (Dev)
- codeception/module-asserts: ^1.3.0
- codeception/stub: ^3.6.1
- phpstan/phpstan: ^1.0.0
- spryker/code-sniffer: ^0.17.1
- spryker/testify: ^3.40.0
This package is auto-updated.
Last update: 2024-11-09 12:52:43 UTC
README
Container for AWS SDK SQS operations
Install package
composer req valantic-spryker-eco/aws-sqs
Update your shared config
$config[AwsSqsConstants::AWS_SQS_CONFIG_PARAM_REGION] = 'us-east-1';
$config[AwsSqsConstants::AWS_SQS_CONFIG_PARAM_VERSION] = 'latest';
$config[AwsSqsConstants::AWS_SQS_CONFIG_PARAM_ENDPOINT] = 'http://elasticmq:9324';
Username and password, if required
$config[AwsSqsConstants::AWS_SQS_CONFIG_PARAM_API_KEY] = 'key';
$config[AwsSqsConstants::AWS_SQS_CONFIG_PARAM_API_SECRET] = 'secret';
Or, if your are using AWS IAM roles
$config[AwsSqsConstants::AWS_SQS_CONFIG_PARAM_USE_IAM] = true;