0.0.2 • Published 7 months ago

@maas/payload-plugin-aws-rekognition v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

Amazon Rekognition Payload Plugin

!CAUTION

This plugin is not ready for production use!

This plugin is under experimental development and is not yet ready for production use. It is intended for testing and feedback purposes only. Please use it at your own risk and be aware that it may contain bugs or other issues that could affect its performance or reliability.

Installation

pnpm install @maas/payload-plugin-mux

Usage

import { buildConfig } from 'payload/config'
import { awsRekognitionPlugin } from '@maas/payload-plugin-aws-rekognition'

const config = buildConfig({
  // ... other config options
  plugins: [
    // ... other plugins
    awsRekognitionPlugin({
      enabled: true,
      imagesCollection: 'images', // The slug of the collection where images are stored
      tagsCollection: 'tags', // The slug of the collection where tags are stored
      aws: {
        region: process.env.AWS_REGION!,
        credentials: {
          accessKeyId: process.env.AWS_ACCESS_KEY_ID!,
          secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,
        },
      },
      debug: true,
    }),
  ],
})
0.0.2

7 months ago

0.0.1

7 months ago