Table of Contents

Class AmazonStorageProvider

Namespace
Kentico.Xperience.AmazonStorage
Assembly
Kentico.Xperience.AmazonStorage.dll

Helper class for Amazon storage provider.

public static class AmazonStorageProvider
Inheritance
object
AmazonStorageProvider

Fields

Name

Amazon storage provider name

public static readonly string Name

Field Value

string

Methods

Create()

Creates new instance of StorageProvider configured for Amazon S3 storage.

public static StorageProvider Create()

Returns

StorageProvider

Create(string, bool?)

Creates a new instance of StorageProvider configured for Amazon S3 storage with the specified bucket root path and optional public access setting.

public static StorageProvider Create(string customRootPath, bool? publicExternalFolderObject = null)

Parameters

customRootPath string

The S3 bucket name to use as the root path.

publicExternalFolderObject bool?

Controls whether objects in this bucket are uploaded with public read access. When true, objects are uploaded as publicly readable. When false, objects are uploaded as private. When null, falls back to the global PublicAccess configuration value. Note: public access also requires the S3 bucket policy and Block Public Access settings to permit it.

Returns

StorageProvider