AWSMediaLiveAnywhereServiceRolePolicy
Last Modified
Mar 12, 2026
March 12, 2026 at 09:26 PM UTC
Version
v1
Total Versions
1
Created
Apr 14, 2025
Actions
10
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PutMediaLiveMetricData",
"Effect": "Allow",
"Action": "cloudwatch:PutMetricData",
"Resource": "*",
"Condition": {
"StringEquals": {
"cloudwatch:namespace": "AWS/MediaLive"
}
}
},
{
"Sid": "RegisterAnywhereAgentTaskDefinition",
"Effect": "Allow",
"Action": [
"ecs:RegisterTaskDefinition"
],
"Resource": [
"arn:aws:ecs:*:*:task-definition/MediaLiveAnywhereAgent*"
],
"Condition": {
"StringEquals": {
"aws:RequestTag/created_by": "MediaLiveAnywhere"
}
}
},
{
"Sid": "ECSTagResource",
"Effect": "Allow",
"Action": [
"ecs:TagResource"
],
"Resource": [
"arn:aws:ecs:*:*:task-definition/*"
],
"Condition": {
"StringEquals": {
"ecs:CreateAction": "RegisterTaskDefinition",
"aws:RequestTag/created_by": "MediaLiveAnywhere"
},
"ForAllValues:StringEquals": {
"aws:TagKeys": "created_by"
}
}
},
{
"Sid": "UpdateAnywhereAgentService",
"Effect": "Allow",
"Action": [
"ecs:UpdateService"
],
"Resource": [
"arn:aws:ecs:*:*:*"
],
"Condition": {
"ArnLike": {
"ecs:Cluster": "arn:aws:ecs:*:*:cluster/MediaLiveAnywhere*",
"ecs:Task-Definition": "arn:aws:ecs:*:*:task-definition/MediaLiveAnywhereAgent*"
}
}
},
{
"Sid": "ECSListTaskDefinitions",
"Effect": "Allow",
"Action": [
"ecs:ListTaskDefinitions"
],
"Resource": [
"*"
]
},
{
"Sid": "DeregisterAnywhereAgentTaskDefinitionOnCleanup",
"Effect": "Allow",
"Action": [
"ecs:DeregisterTaskDefinition"
],
"Resource": [
"*"
]
},
{
"Sid": "DeleteAnywhereAgentTaskDefinitionsOnCleanup",
"Effect": "Allow",
"Action": [
"ecs:DeleteTaskDefinitions"
],
"Resource": [
"arn:aws:ecs:*:*:task-definition/MediaLiveAnywhereAgent*"
]
},
{
"Sid": "DeleteAnywhereAgentServiceOnCleanup",
"Effect": "Allow",
"Action": [
"ecs:DeleteService"
],
"Resource": [
"arn:aws:ecs:*:*:service/MediaLiveAnywhere*/MediaLiveAnywhereAgent*"
],
"Condition": {
"ArnLike": {
"ecs:Cluster": "arn:aws:ecs:*:*:cluster/MediaLiveAnywhere*"
}
}
},
{
"Sid": "DeregisterContainerInstanceOnCleanup",
"Effect": "Allow",
"Action": [
"ecs:ListContainerInstances",
"ecs:DeregisterContainerInstance"
],
"Resource": [
"arn:aws:ecs:*:*:cluster/MediaLiveAnywhere*"
]
}
]
},
"VersionId": "v1",
"IsDefaultVersion": true,
"CreateDate": "2025-04-14T22:07:06+00:00"
}
}Version History (2 recorded)
Raw historyAWSMediaLiveAnywhereServiceRolePolicy - Policy Version v1
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
7480ab7Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Apr 14, 2025
f27d5af