greengrass:GetComponent is a Read access-level action in the greengrass service. Grants permission to get the recipe for a version of a component
ARNs that greengrass:GetComponent can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants greengrass:GetComponent.
Filters access by checking tag key/value pairs associated with a specific resource
A minimal policy that allows greengrass:GetComponent. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowGreengrassGetComponent",
"Effect": "Allow",
"Action": "greengrass:GetComponent",
"Resource": "*"
}
]
}