# AWSStorageSpecCreate

object

## bucketName
string  
**Required**  
**pattern:** ^(?!.*\.\.)[a-z0-9][-a-z0-9.]{1,61}[a-z0-9]$

The name of the AWS S3 bucket.  
This field cannot be modified, only set during creation.

## credential  
object [AWSCredential](https://docs.mediakind.com/api-reference/media-api/schemas/awscredential)  
**Optional**

The credential for the AWS S3 bucket. Required at creation.

### Show 2 properties  
### Hide 2 properties

## accessKeyId  
string  
**Required**  
**pattern:** ^AKIA[0-9A-Z]{16}$

The access key ID for the bucket.

## secretAccessKey  
string  
**Required**  
**pattern:** ^[A-Za-z0-9+/=]{40}$

The secret access key for the bucket.

## description  
string or null  
**Optional**

Description of the storage.

## type  
enum  
**Required**

The type of storage.  
This field cannot be modified, only set during creation.

**Allowed values:**  
- Microsoft.Storage  
- AWS.S3  
- Google.Storage
