Documentation

CloudFront extends Aws
in package

A simple wrapper for loading S3 ready for use with the AWS SDK

Table of Contents

Methods

getClient()  : CloudFrontClient
Get a CloudFrontClient instance with local configuration
getProdCredential()  : InstanceProfileProvider
Get production credentials from an instanceProfile
getSdk()  : Sdk

Methods

getClient()

Get a CloudFrontClient instance with local configuration

public static getClient([array<string|int, mixed> $config = [] ]) : CloudFrontClient
Parameters
$config : array<string|int, mixed> = []
Return values
CloudFrontClient

getProdCredential()

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
InstanceProfileProvider

getSdk()

public static getSdk() : Sdk
Return values
Sdk
On this page

Search results