AWS Fundamentals Logo
AWS Fundamentals
AWS::SSM::PatchBaseline

SSM PatchBaseline

Resource Type definition for AWS::SSM::PatchBaseline

Properties

15 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
Required
ApprovalRules
RuleGroup
ApprovedPatches
Array<string>
ApprovedPatchesComplianceLevel
string
ApprovedPatchesEnableNonSecurity
boolean
AvailableSecurityUpdatesComplianceStatus
string
DefaultBaseline
boolean
Description
string
GlobalFilters
PatchFilterGroup
OperatingSystem
string
Create-only
PatchGroups
Array<string>
RejectedPatches
Array<string>
RejectedPatchesAction
string
Sources
Array<PatchSource>
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
IdstringThe ID of the patch baseline.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SSM::PatchBaseline

Resources:
  MyResource:
    Type: AWS::SSM::PatchBaseline
    Properties:
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ssm:CreatePatchBaselinessm:RegisterPatchBaselineForPatchGroupssm:AddTagsToResourcessm:RemoveTagsFromResourcessm:ListTagsForResourcessm:GetDefaultPatchBaselinessm:RegisterDefaultPatchBaseline

delete

ssm:DeletePatchBaselinessm:GetPatchBaselinessm:DeregisterPatchBaselineForPatchGroup

list

ssm:DescribePatchBaselinesssm:GetDefaultPatchBaselinessm:GetPatchBaselinessm:ListTagsForResource

read

ssm:GetDefaultPatchBaselinessm:GetPatchBaselinessm:ListTagsForResource

update

ssm:UpdatePatchBaselinessm:DeregisterPatchBaselineForPatchGroupssm:AddTagsToResourcessm:RemoveTagsFromResourcessm:ListTagsForResourcessm:GetDefaultPatchBaselinessm:RegisterDefaultPatchBaseline

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSSM
Properties16
Required1
TaggingSupported
Primary IDId

Supported Operations

CreateDeleteListReadUpdate

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

OperatingSystem

External Links