Reputation: 534
In AWS cloud front, for private content delivery there are two options:
In custom policy inside the statement they have defined:
{
"Statement": [
{
"Resource":"URL or stream name of the object",
"Condition":{
"DateLessThan":{"AWS:EpochTime":required ending date and time in Unix time format and UTC},
"DateGreaterThan":{"AWS:EpochTime":optional beginning date and time in Unix time format and UTC},
"IpAddress":{"AWS:SourceIp":"optional IP address"}
}
}
]
}
In the condition they talk about only 3 types of condition settings.
My question is - Are custom policy possible here? Say pass a string token and validate if that token is?
Upvotes: 0
Views: 32
Reputation: 19748
My question is - Are custom policy possible here? Say pass a string token and validate if that token is?
This is not currently possible. According to the documentation only the following fields are allowed inside the policy (Since this is not an IAM policy)
Upvotes: 2