CmdID

CmdID / aws / aws mediastore

aws mediastore get-cors-policy

Returns the cross-origin resource sharing (CORS) configuration information that is set for the container. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To view a CORS policy

The following get-cors-policy example displays the cross-origin resource sharing (CORS) policy that is assigned to the specified container.

aws mediastore get-cors-policy --container-name ExampleContainerIdentify
--container-nameThe name of the container that the policy is assigned to.
Its output
{
    "CorsPolicy": [
        {
            "AllowedMethods": [
                "GET",
                "HEAD"
            ],
            "MaxAgeSeconds": 3000,
            "AllowedOrigins": [
                ""
            ],
            "AllowedHeaders": [
                ""
            ]
        }
    ]
}

Options

1 in the AWS CLI reference
--container-nameThe name of the container that the policy is assigned to.