Skip to content

Put Inline Policy to Permission Set

ssoadmin_put_inline_policy_to_permission_set R Documentation

Attaches an inline policy to a permission set

Description

Attaches an inline policy 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 action to apply the corresponding IAM policy updates to all assigned accounts.

Usage

ssoadmin_put_inline_policy_to_permission_set(InlinePolicy, InstanceArn,
  PermissionSetArn)

Arguments

InlinePolicy

[required] The inline policy to attach to a PermissionSet.

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.

PermissionSetArn

[required] The ARN of the permission set.

Value

An empty list.

Request syntax

svc$put_inline_policy_to_permission_set(
  InlinePolicy = "string",
  InstanceArn = "string",
  PermissionSetArn = "string"
)