Basic S3 Integration for SFCC B2C Commerce.
- Import cartridge
int_s3
- Import Service and Service Metadata from
meta/
- Update service credential for bucket name, set user to AWS Access Key and password to AWS Secret Key; set AWS Region custom attribute
- Create Job from
custom.s3.export
to upload files to S3 Bucket with prefix
See scripts/services/aws/s3.js
for method details
const S3 = require('*/cartridge/scripts/services/aws/s3')
S3.generateAWSSignatureV4(...)
S3.getFile()
S3.putFile()
S3.getString()
S3.putString()
Create other jobs using library methods
custom.s3.export
- Export files from SFCC to S3 Bucket
Controller S3Testing-Start
has some integration tests
This project should not be treated as Salesforce Product. Customers and partners implement this at-will with no expectation of roadmap, technical support, defect resolution, production-style SLAs.
This project is maintained by the Salesforce Community. Salesforce Commerce Cloud or Salesforce Platform Technical Support do not support this project or its setup.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.