AWS::SSM::ResourcePolicyResource Type definition for AWS::SSM::ResourcePolicy
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Policy | objectstring | Required |
ResourceArn | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
PolicyHash | string | A snapshot identifier for the policy over time. |
PolicyId | string | An unique identifier within the policies of a resource. |
A minimal template with required properties and common optional ones.
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"Permissions CloudFormation needs in your IAM role to manage this resource.
ssm:PutResourcePolicyssm:GetResourcePoliciesssm:GetResourcePoliciesssm:PutResourcePolicyssm:GetResourcePoliciesssm:DeleteResourcePolicyssm:GetResourcePoliciesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterPolicyIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ResourceArn