ssm_put_resource_policy: Creates or updates a Systems Manager resource policy

View source: R/ssm_operations.R

ssm_put_resource_policyR Documentation

Creates or updates a Systems Manager resource policy

Description

Creates or updates a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).

See https://www.paws-r-sdk.com/docs/ssm_put_resource_policy/ for full documentation.

Usage

ssm_put_resource_policy(
  ResourceArn,
  Policy,
  PolicyId = NULL,
  PolicyHash = NULL
)

Arguments

ResourceArn

[required] Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

Policy

[required] A policy you want to associate with a resource.

PolicyId

The policy ID.

PolicyHash

ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.