mediapackagev2:GetHarvestJob
Read mediapackagev2:GetHarvestJob is
a Read
access-level action in the
mediapackagev2
service.
Grants permission to retrieve details of an harvest job
Resource types
ARNs that mediapackagev2:GetHarvestJob can be scoped to in an IAM policy.
arn:${Partition}:mediapackagev2:${Region}:${Account}:channelGroup/${ChannelGroupName}/channel/${ChannelName} required
Channel arn:${Partition}:mediapackagev2:${Region}:${Account}:channelGroup/${ChannelGroupName} required
ChannelGroup arn:${Partition}:mediapackagev2:${Region}:${Account}:channelGroup/${ChannelGroupName}/channel/${ChannelName}/originEndpoint/${OriginEndpointName}/harvestJob/${HarvestJobName} required
HarvestJob arn:${Partition}:mediapackagev2:${Region}:${Account}:channelGroup/${ChannelGroupName}/channel/${ChannelName}/originEndpoint/${OriginEndpointName} required
OriginEndpoint Condition keys
Keys you can use in the Condition block of a policy that
grants mediapackagev2:GetHarvestJob.
aws:ResourceTag/${TagKey} String
Filters access by tags associated with the resource
Example IAM policy
A minimal policy that allows mediapackagev2:GetHarvestJob. Replace
"Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowMediapackagev2GetHarvestJob",
"Effect": "Allow",
"Action": "mediapackagev2:GetHarvestJob",
"Resource": "*"
}
]
}