ssm:GetPatchBaseline

Read

ssm:GetPatchBaseline is a Read access-level action in the ssm service. Grants permission to view information about a specified patch baseline

Resource types

ARNs that ssm:GetPatchBaseline can be scoped to in an IAM policy.

arn:${Partition}:ssm:${Region}:${Account}:patchbaseline/${PatchBaselineIdResourceId}
patchbaseline

Condition keys

Keys you can use in the Condition block of a policy that grants ssm:GetPatchBaseline.

aws:ResourceTag/${TagKey} String

Filters access by based on a tag key-value pair assigned to the AWS resource

ssm:resourceTag/tag-key String

Filters access by based on a tag key-value pair assigned to the Systems Manager resource

Example IAM policy

A minimal policy that allows ssm:GetPatchBaseline. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSsmGetPatchBaseline",
      "Effect": "Allow",
      "Action": "ssm:GetPatchBaseline",
      "Resource": "*"
    }
  ]
}

Related actions in ssm

View all ssm actions →