Purple DS TTS (Text-to-speech) - AWS configuration

Modified on Fri, 19 Mar, 2021 at 4:19 PM

To setup TTS with your Amazon account we need the following:


1. access key and secret key of an API user, who has both the rights to use Polly and can carry out the necessary operations on S3


Example Polly (or use simple AmazonPollyFullAccess):

{

    "Version": "2012-10-17",

    "Statement": [

        {

            "Effect": "Allow",

            "Action": [

                "polly:*"

            ],

            "Resource": [

                "*"

            ]

        }

    ]

}


Example S3:


{

    "Version": "2012-10-17",

    "Statement": [

        {

            "Effect": "Allow",

            "Action": [

                "s3:ListBucket"

                "s3:PutObject."

                "s3:PutObjectAcl"

                "s3:GetObjectAcl"

                "s3:GetObject"

            ],

            "Resource": [

                "arn:aws:s3:::<bucket-name>/*"

            ]

        }

    ]

}


2. bucket name, bucket region and the prefix (path in the bucket) under which the files are to be stored and which allows public access

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article