Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
224 views
in Technique[技术] by (71.8m points)

amazon web services - Can I create more than one Twilio Composition Setting for 2 different projects?

I have 2 projects where I am saving videos in Twilio. One project, I do not want to change. The second project, I want to move the storage to S3. I have 2 buckets in S3, bucket1 and bucket2, and I would like to store the videos from some of my application users in bucket1, and to store videos from others in bucket2. I've seen this Twilio documentation here that I can configure the aws_s3_url in Twilio Composition Settings, but the url is always "https://video.twilio.com/v1/CompositionSettings/Default". I do not want to change the Default settings, because I do not want the storage settings for my first project to change. Also, for my second project, I want to create 2 new settings which have the different S3 buckets, so they cannot be the same Composition Setting.

Is there a way that I can create 2 new composition settings with urls like "https://video.twilio.com/v1/CompositionSettings/Settings1" and "https://video.twilio.com/v1/CompositionSettings/Settings2", so that I can not "mess up" the default Composition Settings, and also have 2 separate s3 storage buckets?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Twilio developer evangelist here.

If you administer your projects as different projects or subaccounts then you can set the aws_s3_url separately for them.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...