def set_permission(StackId=None, IamUserArn=None, AllowSsh=None, AllowSudo=
    None, Level=None):
    """
    Specifies a user's permissions. For more information, see Security and Permissions .
    See also: AWS API Documentation
    
    
    :example: response = client.set_permission(
        StackId='string',
        IamUserArn='string',
        AllowSsh=True|False,
        AllowSudo=True|False,
        Level='string'
    )
    
    
    :type StackId: string
    :param StackId: [REQUIRED]
            The stack ID.
            

    :type IamUserArn: string
    :param IamUserArn: [REQUIRED]
            The user's IAM ARN. This can also be a federated user's ARN.
            

    :type AllowSsh: boolean
    :param AllowSsh: The user is allowed to use SSH to communicate with the instance.

    :type AllowSudo: boolean
    :param AllowSudo: The user is allowed to use sudo to elevate privileges.

    :type Level: string
    :param Level: The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
            deny
            show
            deploy
            manage
            iam_only
            For more information on the permissions associated with these levels, see Managing User Permissions .
            

    """
    pass
