SSOAdmin / Client / put_inline_policy_to_permission_set
put_inline_policy_to_permission_set#
- SSOAdmin.Client.put_inline_policy_to_permission_set(**kwargs)#
Attaches an inline policy to a permission set.
Note
If the permission set is already referenced by one or more account assignments, you will need to call
ProvisionPermissionSet
after this action to apply the corresponding IAM policy updates to all assigned accounts.See also: AWS API Documentation
Request Syntax
response = client.put_inline_policy_to_permission_set( InlinePolicy='string', InstanceArn='string', PermissionSetArn='string' )
- Parameters:
InlinePolicy (string) –
[REQUIRED]
The inline policy to attach to a PermissionSet.
InstanceArn (string) –
[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 (string) –
[REQUIRED]
The ARN of the permission set.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions