AWS Fundamentals Logo
AWS Fundamentals
AWS::SSM::ResourcePolicy

SSM ResourcePolicy

Resource Type definition for AWS::SSM::ResourcePolicy

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Policy
objectstring
Required
ResourceArn
string
RequiredCreate-only

Return Values

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

AttributeTypeDescription
PolicyHashstringA snapshot identifier for the policy over time.
PolicyIdstringAn unique identifier within the policies of a resource.

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::ResourcePolicy

Resources:
  MyResource:
    Type: AWS::SSM::ResourcePolicy
    Properties:
      ResourceArn: "arn:aws:service:region:account:resource"
      Policy: "value"

Required IAM Permissions

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

create

ssm:PutResourcePolicy

read

ssm:GetResourcePolicies

update

ssm:GetResourcePoliciesssm:PutResourcePolicy

delete

ssm:GetResourcePoliciesssm:DeleteResourcePolicy

list

ssm:GetResourcePolicies

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
Properties4
Required2
TaggingNot supported
Primary IDPolicyId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ResourceArn

External Links