S3
extends Aws
in package
A simple wrapper for loading S3 ready for use with the AWS SDK
Table of Contents
Methods
- getClient() : S3Client
- Get an S3Client instance with local configuration
- getProdCredential() : InstanceProfileProvider
- Get production credentials from an instanceProfile
- getSdk() : Sdk
Methods
getClient()
Get an S3Client instance with local configuration
public
static getClient([array<string|int, mixed> $config = [] ]) : S3Client
Parameters
- $config : array<string|int, mixed> = []
Return values
S3ClientgetProdCredential()
Get production credentials from an instanceProfile
public
static getProdCredential() : InstanceProfileProvider
This uses instance profile credentials so needs to be configured properly on AWS
Return values
InstanceProfileProvidergetSdk()
public
static getSdk() : Sdk