⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
awscli
/
examples
/
mediastore
/
View File Name :
put-cors-policy.rst
**Example 1: To add a CORS policy** The following ``put-cors-policy`` example adds a cross-origin resource sharing (CORS) policy to the specified container. The contents of the CORS policy are in the file named ``corsPolicy.json``. :: aws mediastore put-cors-policy \ --container-name ExampleContainer \ --cors-policy file://corsPolicy.json This command produces no output. For more information, see `Adding a CORS Policy to a Container
`__ in the *AWS Elemental MediaStore User Guide*. **Example 2: To edit a CORS policy** The following ``put-cors-policy`` example updates the cross-origin resource sharing (CORS) policy that is assigned to the specified container. The contents of the updated CORS policy are in the file named ``corsPolicy2.json``. For more information, see `Editing a CORS Policy
`__ in the *AWS Elemental MediaStore User Guide*.