Amplify Toolbox
    Preparing search index...
    type StorageActionBuilder = {
        to: (
            actions:
                | Exclude<StorageAction, "get" | "list">[]
                | Exclude<StorageAction, "read">[],
        ) => StorageAccessDefinition;
    }
    Index

    Properties

    Properties

    to: (
        actions:
            | Exclude<StorageAction, "get" | "list">[]
            | Exclude<StorageAction, "read">[],
    ) => StorageAccessDefinition

    Specify which actions an entity will be able to perform on objects in the S3 bucket.

    'read' is mutually exclusive with 'get' and 'list'

    Type declaration