ssm-contacts:PutContactPolicy

Write

ssm-contacts:PutContactPolicy is a Write access-level action in the ssm-contacts service. Grants permission to add a resource policy to a contact

Resource types

ARNs that ssm-contacts:PutContactPolicy can be scoped to in an IAM policy.

arn:${Partition}:ssm-contacts:${Region}:${Account}:contact/${ContactAlias}
contact

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in ssm-contacts

View all ssm-contacts actions →