Skip to content

Attach Managed Policy To Permission Set

ssoadmin_attach_managed_policy_to_permission_set R Documentation

Attaches an Amazon Web Services managed policy ARN to a permission set

Description

Attaches an Amazon Web Services managed policy ARN to a permission set.

If the permission set is already referenced by one or more account assignments, you will need to call provision_permission_set after this operation. Calling provision_permission_set applies the corresponding IAM policy updates to all assigned accounts.

Usage

ssoadmin_attach_managed_policy_to_permission_set(InstanceArn,
  ManagedPolicyArn, PermissionSetArn)

Arguments

InstanceArn

[required] The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

ManagedPolicyArn

[required] The Amazon Web Services managed policy ARN to be attached to a permission set.

PermissionSetArn

[required] The ARN of the PermissionSet that the managed policy should be attached to.

Value

An empty list.

Request syntax

svc$attach_managed_policy_to_permission_set(
  InstanceArn = "string",
  ManagedPolicyArn = "string",
  PermissionSetArn = "string"
)