Skip to main content

S3StoragePermissionSchema

Defines the schema for the s3 storage to allow permissions to a principal resource.

@group

Resources/S3Storage

Index

Properties

accessPrefix

accessPrefix: string

The key prefix within the bucket this permission is for, e.g. uploads. If you want to allow access to the entire bucket, use empty string ''.

allowRead

allowRead: boolean

Allow read.

allowWrite

allowWrite: boolean

Allow write.

principalResourceId

principalResourceId: string

The resource id of the principal resource.

principalType

principalType: aws | cloudfront

The kind of principal the permission admits.