ssm:PutComplianceItems is a Write access-level action in the ssm service. Grants permission to register a compliance type and other compliance details on a specified resource
ARNs that ssm:PutComplianceItems can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants ssm:PutComplianceItems.
Filters access by the ARN of the instance from which the request originated
Filters access by verifying the Amazon Resource Name (ARN) of the AWS Systems Manager's managed instance from which the request is made. This key is not present when the request comes from the managed instance authenticated with an IAM role associated with EC2 instance profile
Filters access by based on a tag key-value pair assigned to the AWS resource
Filters access by a tag key-value pair assigned to the Systems Manager resource
Filters access by based on a tag key-value pair assigned to the Systems Manager resource
A minimal policy that allows ssm:PutComplianceItems. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSsmPutComplianceItems",
"Effect": "Allow",
"Action": "ssm:PutComplianceItems",
"Resource": "*"
}
]
}