SSOAdmin.Client.
attach_customer_managed_policy_reference_to_permission_set
(**kwargs)¶Attaches the specified customer managed policy to the specified PermissionSet.
See also: AWS API Documentation
Request Syntax
response = client.attach_customer_managed_policy_reference_to_permission_set(
InstanceArn='string',
PermissionSetArn='string',
CustomerManagedPolicyReference={
'Name': 'string',
'Path': 'string'
}
)
[REQUIRED]
The ARN of the IAM Identity Center instance under which the operation will be executed.
[REQUIRED]
The ARN of the PermissionSet
.
[REQUIRED]
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is /
. For more information, see Friendly names and paths in the IAM User Guide .
dict
Response Syntax
{}
Response Structure
Exceptions
SSOAdmin.Client.exceptions.ResourceNotFoundException
SSOAdmin.Client.exceptions.InternalServerException
SSOAdmin.Client.exceptions.ServiceQuotaExceededException
SSOAdmin.Client.exceptions.ThrottlingException
SSOAdmin.Client.exceptions.ValidationException
SSOAdmin.Client.exceptions.AccessDeniedException
SSOAdmin.Client.exceptions.ConflictException